comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » FORMAT FLOATS TO STRINGS WITH 3 DIGITS ONLY
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: FORMAT FLOATS TO STRINGS WITH 3 DIGITS ONLY [message #44223 is a reply to message #44193] Thu, 26 May 2005 07:05 Go to previous messageGo to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
Well... the original poster did not say that he/she wanted only the
first 3 most significant digits, just the first 3 digits... so I
thought strmid() was the simplest answer:

first3 = strmid(string(var),0,3)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: isurface transparency not showing lines and points
Next Topic: Re: help: window content erased after resize

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 22:43:24 PDT 2025

Total time taken to generate the page: 0.48254 seconds