Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

format number with 2 decimal 1

Status
Not open for further replies.

elly00

Technical User
Jun 30, 2011
69
IT
hi

I have a program that write a qta in a txt file
The data is written like 5010, 10000
and I would like to have it like 50,10 -- 100,00

How can I format the number with 2 decimals?

thanks
 
Divide by 100.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top