Home » questions » what will i do to make my billion number works?

what will i do to make my billion number works?

2006-08-11 07:02:42, Category: Programming & Design
i already used long and currency data type but it gives an overflow error. a=9*1000000000 visual basic

Answers

  1. rice kid

    On 2006-08-11 07:30:58


    depends what language u're in, but first of all, can't u do 9E9 (9 * 10^9)? if not, then there should be a data type called "long int" for long integers, or "long long int" on certain languages. Also, if u want to use floating point, use the "double" data type.
  2. mk_single

    On 2006-08-11 07:21:34


    where are you using this billion number data? please send in more details.. that may be more helpful...