6 lines
163 B
V
6 lines
163 B
V
fn main() {
|
|
// refer to string interpolation and format place holding in documentation
|
|
// pad with zeros towards the left
|
|
num := 7.125
|
|
println("${num:09f}")
|
|
}
|