Euphoria Ticket #991: 8.13.1.11 hex_text working demo

 
include std/console.e -- for convert function  
include std/convert.e -- for display function  
  
atom h1 = hex_text("-#3_4FA.00E_1BD")  
? h1  
display("H1 is:[]",h1) -- note the difference in significant digits using ? vs display()  
atom h2 = hex_text("DEAD_BEEF")  
? h2  
display("H2 is:[]",h2)  

Results: 
 
-13562.00344  
H1 is:-13562.0034444928  
3735928559  
H2 is:3735928559  

Details

Type: Task Severity: Normal Category: Documentation
Assigned To: euphoric Status: Duplicate Reported Release:
Fixed in SVN #: View VCS: none Milestone: 4.1.0

Search



Quick Links

User menu

Not signed in.

Misc Menu