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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

float manipulation

Status
Not open for further replies.

sl1200mk2

Technical User
Jun 7, 2005
39
FR
hi

i receive from a socket a list of number
0 0.1 0.2 0.3 ..... 0.9 1 1.1 1.2 1.3 ......

and i would like to form it like

0.0 0.1 0.2 ..... 0.9 1.0 1.1 1.2

every time a non-decimal number is received, append it .0
that's my request

best regards
nico
 
forget it
i've found the solution with
[expr double(arg)]

well done nico


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top