downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Introduction> <bcsub
[edit] Last updated: Fri, 10 Feb 2012

view this page in

GNU Multiple Precision



add a note add a note User Contributed Notes GMP
Anonymous 15-Nov-2011 05:38
Be careful with GMP - it considers leading zeros in a number string as meaning the number is in octal, whereas 'bc' doesn't:

  gmp_strval("000100", 10) => 64

  bcmul("000100", "1") => 100

 
show source | credits | stats | sitemap | contact | advertising | mirror sites