Micro Focus QTP (UFT) Forums
How to convert integer to decimal - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to convert integer to decimal (/Thread-How-to-convert-integer-to-decimal)



How to convert integer to decimal - automation2012 - 03-22-2013

i want number 5 to change it to 5.00

a = 5
b = 5& ".00"

i know this solution but i don't want this ..please help me


RE: How to convert integer to decimal - Jyobtech - 03-25-2013

hi ,
please try this
Code:
intNum=FormatNumber(5)
msgbox intNum



RE: How to convert integer to decimal - automation2012 - 03-25-2013

Thanks