Wiki
Clone wikiDWScript / Integer
- summary Integer (base type)
Integer
64bit signed integer type
Description
Decimal notation: 123, -456
Hexadecimal notation: $1AF or 0x1AF
Binary notation: 0b10011101
For formatting purposes, the underscore '`_`' character is accepted (and ignored) in Hexadecimal and Binary literals.
Methods
Conversions
- ToString: conversion to decimal string
- ToHex: conversion to hexadecimal string
- ToBin: conversion to binary string
Maths
- Factorial
- Power
- Sign
- IsPrime
- LeastFactor
Other
- Clamp
Updated