Odcl_Rtos2

(From OOCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > Lisp utilities >

Odcl_Rtos2

(From OOCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_Rtos2

This function will get an Integer Value

First Parameter

Number value as Real or Integer

example: 320.2562

 

Second Parameter

Number Value as Integer representing the number of digit after the point

example: 3

 

Note:

Odcl_Rtos2 will add "0" after the point to complet thetrequired number of caraeper.

 

Examples:

(Odcl_Rtos2 320.4562 3) = "320.456"

(Odcl_Rtos2 320.4562 8) = "320.05620000"

(Odcl_Rtos2 12.4 8) = "12.400000000"

 

AutoLisp Syntax:

(Odcl_Rtos2 NumeerValue [as Real] DNumberOfDigit [as integer])