1. Dmitry Grebeniuk
  2. ocaml_input_float

Commits

Dmitry Grebeniuk  committed c8814f4

+ of_substring

  • Participants
  • Parent commits 65a7e57
  • Branches default

Comments (0)

Files changed (1)

File lib/input_float.mli

View file
 value of_string :
   ~precision:int -> ~scale:int -> ?rounding:rounding ->
   ?is_space:(char -> bool) -> ?is_dot:(char -> bool) ->
-  string -> float
+  string ->
+  float
 ;
+
+(* same as [of_string], but last parameters are [string offset length] *)
+value of_substring :
+  ~precision:int -> ~scale:int -> ?rounding:rounding ->
+  ?is_space:(char -> bool) -> ?is_dot:(char -> bool) ->
+  string -> int -> int ->
+  float
+;