RosettaCodeData/Task/Literals-Floating-point/OCaml/literals-floating-point.ocaml
2023-07-01 13:44:08 -04:00

6 lines
169 B
Text

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