Board Logo
« dechex$/hexdec pair »

Welcome Guest. Please Login or Register.
Jan 21st, 2018, 03:03am


Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ


« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: dechex$/hexdec pair  (Read 33 times)
tsh73
JB-Supporter


member is offline

Avatar




PM

Gender: Male
Posts: 3636
xx dechex$/hexdec pair
« Thread started on: Nov 21st, 2017, 3:07pm »

dechex$/hexdec pair:
inconsistent.
dechex$ supports negative numbers,
while hexdec does not.
Code:
print dechex$(250)
print hexdec("FA")
print dechex$(-250)
print hexdec("-FA")    'obviously not supported
 

produces
Code:
FA
250
-FA
0
 
User IP Logged

Q: "And if I took your codes and compile them, and sell them for a profit"?
A: Go ahead. I had my share of good then I coded it for fun, if you can make better use of it - please do.
(enjoying JB 1.01 on WinXP, netbook and desktop)
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ

Just BASIC wiki
Wikispaces

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls