fix


Truncates the real number value to an integer by discarding any fractional part.


$(FIX, value)

 

Examples

Code Returns
$(fix,123.456)

123

$(fix,.69) 0
$(fix,-543.21) -543

 

See also...

DIESEL functions
 
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. Copyright © 2001- Menhirs NV - All rights reserved.