RosettaCodeData/Task/Literals-Floating-point/OCaml/literals-floating-point.ml
2024-10-16 18:07:41 -07:00

6 lines
169 B
OCaml

0.5
1.0
1. (* it is not possible to write only "1" because OCaml is strongly typed,
and this would be interpreted as an integer *)
1e-10
3.14159_26535_89793