TheSwamp
Code Red => VB(A) => Topic started by: Humbertogo on August 21, 2006, 12:40:39 PM
-
How to Leading zeros
for example if i have
an value 0.001 must be confort to .001
-
If in the dwg, find/replace "0." with "." should do the trick.
-
Convert it to a trimmed string.
Dim MyNumber as Double
MyNumber = 0.75
Dim MyString as String
MyString = trim(str(MyNumber))
To convert the string to a double use Cdbl(MyString)
To convert the string to an integer use Cint(MyString)
-
Thanks
-
What he said.