pocketlang/docs/Reference/Math.md
Thakee Nathees a83aa9438e documentations are refactored
function keyword changed back to fn
2022-05-07 17:47:58 +05:30

30 lines
296 B
Markdown

# math
TODO: this page is incomplete.
#### math.floor
```ruby
floor(value:num) -> num
```
#### math.ceil
```ruby
ceil(value:num) -> num
```
#### math.pow
```ruby
pow(a:num, b:num) -> num
```
#### math.sqrt
```ruby
sqrt(value:num) -> num
```
#### math.abs
```ruby
abs(value:num) -> num
```