• progeCAD in French Language
  • progeCAD in Spanish Language
  • progeCAD in English Language

(float)

(float)

(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.

(atof string)

(atoi string)

(itoa integer)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language

 
DWG is the native file format for Autodesk AutoCAD®. Autodesk and AutoCAD are registered trademarks or trademarks of Autodesk, Inc. in the USA and/or other countries. progeSOFT and progeCAD are registered trademarks or trademarks of progeCAD s.r.l. in the USA and/or other countries.