Time to REAL & REAL to time 
Author Message
 Time to REAL & REAL to time

Does anyone know a way to convert from TIME type to REAL type?  This
would be very useful in modeling devices like VCOs and VCDs.

-Jason Meiners



Fri, 21 Sep 2001 03:00:00 GMT  
 Time to REAL & REAL to time

Quote:

> Does anyone know a way to convert from TIME type to REAL type?  This
> would be very useful in modeling devices like VCOs and VCDs.

If you divide TIME by TIME, you get INTEGER. From there, you can get
to REAL:

my_real := REAL(my_time / 1 ns);



Fri, 21 Sep 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. real time dispaly of time.

2. Help!: problem with fast timing for real-time application on PC

3. Help!: problem with fast timing for real-time application on PC

4. DOS compressed date/time into real date/time

5. real time, time series display

6. Hlep in functional prog.& real-time

7. real-time & generational GC

8. Real-time UNIX(registered trademark of AT&T)

9. White Pages again (for real, this time)

10. Real-Time Embedded OS Device Drivers for LAN/WAN Devices

11. APL2 for use with GPS / real time

12. Use of APL in real-time applications

 

 
Powered by phpBB® Forum Software