atoi64 library

atoi64 - hex/dec/bin/oct string to integer conversion library

Add a Review
2 Downloads (This Week)
Last Update:
  Browse Code Git Repository

Description

atoi64 - String to 64-bit integer number conversion (future: 128-bit), handles garbage at ends, ignores _ inside like perl, handles hexadecimal, decimal, octal, binary, and SI or IEC (computer units) for a suffix multiplier. perl,js,c++,php,auto-it3

atoi64 library Web Site

Features

  • handles hexadecimal (starts with 0x), octal (starts with 0, 0o, 0q), binary (starts with 0b), decimal (starts with 0d or regular number)
  • optional : suffix followed by SI or IEC (computer) units as a multiplier, example k, ki and optional ending B or b
  • case insensitive
  • like Perl, ignores _ underscores in numbers. so you could have 9_125_234_456:TiB
  • handles garbage on front and end
  • priority given to longer units
  • currently in 5 languages, c++, javascript, php, perl, autoit

Update Notifications





Write a Review

User Reviews

Be the first to post a review of atoi64 library!

Additional Project Details

Languages

English

Intended Audience

Other Audience

Programming Language

AutoIt, C++, JavaScript, PHP, Perl

Registered

2011-07-28
Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.