v/vlib/builtin/int_d_new_int.v
2025-09-04 22:00:02 +08:00

7 lines
177 B
V

module builtin
// str returns the value of the `int` as a `string`.
// Example: assert int(-2020).str() == '-2020'
// pub fn int_str(n int) string {
// return i64(n).str()
//}