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

Home » Public Forums » archive » Integer - decimal help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Integer - decimal help [message #67724] Tue, 25 August 2009 02:14
Nusret Sevinç is currently offline  Nusret Sevinç
Messages: 8
Registered: March 2009
Junior Member
Hi there,

I don't know how to read the integer and decimal parts of a number
separately . For example:

I have a number: x=34.75

I would like to read the integer part and decimal part separately:
a=34, b=75(or .75)

Can you please explain me how to do this?
[Message index]
 
Read Message
Previous Topic: Re: The IDL way: Find last non-zero value
Next Topic: IDL vs GDL

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

Current Time: Fri Oct 10 01:35:16 PDT 2025

Total time taken to generate the page: 0.32105 seconds