(float number)


Convert that integer into a real number.


This function changes the number to a real number. An integer is changed to a real number by adding a decimal point, followed by zeroes.

 

Examples

Code Returns

(float 2)

2.00000

(float 8.65)

8.65000

NOTE This function is the opposite of the fix function.

 

Tell me about...

(atof string)

(atoi string)

(itoa integer)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language


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