numbers written in ascii... looking for all common (and some uncommon) forms....

From: Bx.C (invalid-email-address_at_invalid.shiragajin)
Date: 02/21/04


Date: Fri, 20 Feb 2004 18:31:26 -0600

with # denoting a digit of a particular numbering base (bin, oct, dec, hex),
can i get some input from ya'll regarding what would be common ways of
formatting numbers? for instance, i've seen the following forms:

oct
    /###

hex
    0x##
    0x####
    0x########
    #h
    0#h

dec
    #
    #d

bin
    ########b

--------------------------------
i'm trying to compile a list of all the millions of crazy notations used
when formatting numbers as text... i know the rules usually go that if it
ends in b,d,h,o, then you pretty much know what it is, with the exception
being hex numbers ending in b or d... and if there isn't any alphabetic
character or special symbol, then it's assumed to be decimal...



Relevant Pages

  • Re: Decimal-Hex-Binary coverter
    ... In view change to scientific mode you can that ... select hex, dec, oct or bin enter the information and select the one ... I think your clock or time zone setting is out. ...
    (microsoft.public.windowsxp.general)
  • Re: numbers written in ascii... looking for all common (and some uncommon) forms....
    ... > can i get some input from ya'll regarding what would be common ways of ... > when formatting numbers as text... ... > character or special symbol, then it's assumed to be decimal... ...
    (alt.lang.asm)
  • Re: Anyone have a good site for learning hex to binary conversion?
    ... Isn't there a mathematical computation that I can perform to get those ... Like with bin to hex you multiply each bin # by ... >>I have an exam tomorrow for an Intro to Networking class and we're going ...
    (microsoft.public.cert.exam.mcse)
  • Re: Decimal-Hex-Binary coverter
    ... In view change to scientific mode you can that ... select hex, dec, oct or bin enter the information and select the one you ... calculator is not too convenient. ...
    (microsoft.public.windowsxp.general)
  • Re: Hex to floating point
    ... Why write your own hex decoder when there's good old sscanf? ... $bin = implode); ... $array = unpack; ... >> double precision floating point. ...
    (comp.lang.php)