DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUST
rust ceil
let a: f32 = 3.2; let b: usize = 2; let c = (a / b as f32).ceil(); // c = 2.0
PREVIOUS
NEXT
Tagged:
#rust
#ceil
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit