Getting Started
Installation
Usage
Basic Syntax
Data Types
Expressions
Variables
Conditions
Commands
Arrays
Loops
Functions
Importing
Advanced Syntax
As Cast
Builtins
Type Condition
Compiler Flags
Standard Library
Documentation
Array
Date
Environment
FileSystem
HTTP
Math
Text
Contributing
How to
Guide
Compiler structure
Amber by Example
ShellCheck tester
Ubuntu Updater
Bot Detector
LSP Installer
abs
pub fun abs(number: Num): Num
Returns the absolute value of a number
ceil
pub fun ceil(number: Num): Num
Returns the smallest integer greater than or equal to a number
floor
pub fun floor(number: Num): Num
Returns the largest integer less than or equal to a number
round
pub fun round(number: Num): Num
Returns a number, rounded to the nearest integer
sum
pub fun sum(list: [Num]): Num
Sums an array's contents
Getting Started
Installation
Usage
Basic Syntax
Data Types
Expressions
Variables
Conditions
Commands
Arrays
Loops
Functions
Importing
Advanced Syntax
As Cast
Builtins
Type Condition
Compiler Flags
Standard Library
Documentation
Array
Date
Environment
FileSystem
HTTP
Math
Text
Contributing
How to
Guide
Compiler structure
Amber by Example
ShellCheck tester
Ubuntu Updater
Bot Detector
LSP Installer