{
"id": "fn-math-fround",
"dataComponent": "math",
"heading": {
"title": "fround",
"badges": ["Math", "JSMath"]
},
"synopsis": "Rounds a float to 32-bit single precision.",
"codeBlocks": [
"extend(\"math\")\\n\\nsput( math:fround(1.337) )\\n# => ~1.3370000123977661\\n\\nsput( math:fround(1e-50) )\\n# => 0\\n"
],
"notes": [
"Single numeric argument. Converts to the closest 32-bit float representation, then returns it as a 64-bit float (depending on bridging)."
]
}