Difference between revisions of "CSNG"
Jump to navigation
Jump to search
Navigation:
imported>Clippy m |
imported>Clippy m |
||
Line 13: | Line 13: | ||
{{PageDescription}} | {{PageDescription}} | ||
* Returns the closest [[SINGLE]] decimal point value | * Returns the closest [[SINGLE]] decimal point value | ||
− | * Also used to define a value as [[SINGLE]]-precision. | + | * Also used to define a value as [[SINGLE]]-precision up to 7 decimals. |
Revision as of 19:40, 3 January 2016
CSNG To converts a numerical value to the closest SINGLE-precision number.
Syntax
- singlevalue = CSNG(expression)
Parameters
- The expression is any TYPE of literal or variable numerical value or mathematical calculation.
Description
- Returns the closest SINGLE decimal point value
- Also used to define a value as SINGLE-precision up to 7 decimals.
Example:
A# = 975.3421222# PRINT A#, CSNG(A#)
975.3421222 975.3421
See also: