Simple types / Numbers / Mathematical operations
Exponentiation
Square root
min and max values
Logarithm
Decimal logarithm
Sine, cosine and tangent
let
number:
f32
=
1000.0
;
let
result = number.
log10
();
//result is 3
println!
(
"result is
{result}
"
);