Boomla language docs
Numeric types
+
Overview
Types
Nil type
Boolean type
Numeric types
String type
Array type
Map type
Struct type
Function type
File type
Bucket type
Reference types
Box type
Expressions
Operators
Get expressions
Index expressions
Slice expressions
Grouping
Literals
Instantiations
Identifiers
Call expressions
Xml expressions
Function literals
As expressions
Statements
Import statement
Type declarations
Var declarations
Function declarations
Method declarations
Assign statement
If statement
For statement
Assert statement
Return statement
Fail statement
Panic statement
Yield statement
Break statement
Continue statement
Defer statement
IncDec statement
Expression statement
Block statement
Numeric types
fn main() { var nInt int // Alias to int64 var nUint uint // Alias to uint64 var nInt8 int8 var nInt16 int16 var nInt32 int32 var nInt64 int64 var nUint8 uint8 var nUint16 uint16 var nUint32 uint32 var nUint64 uint64 var nFloat32 float32 var nFloat64 float64 var nByte byte // Alias to uint8 var nRune rune // Alias to int32, a unicode char println(nInt) println(nUint) println(nInt8) println(nInt16) println(nInt32) println(nInt64) println(nUint8) println(nUint16) println(nUint32) println(nUint64) println(nFloat32) println(nFloat64) println(nByte) println(nRune) }
Run