standard.C.casts.uint64

uint64 is available since version 1.0.

Prototype:

number uint64(number)

Description:

Gets the 64 bits unsigned integer value of a number.

Return value:

Returns the 64 bits unsigned integer value of a number.

Example
import standard.C.casts

class Main {
     function Main() {
          var decimal_number=-12.345;
          var a_number=12337500087987979123123;

          echo "The 64 bit unsigned representation of " + decimal_number + " is ";
          echo uint64(decimal_number);
          echo "\n";

          echo "The 64 bit representation of " + a_number + " is ";
          echo int64(a_number);
          echo "\n";
          
     }
}