top | item 41940384 (no title) intelekshual | 1 year ago Probably because `Float()` is stricter and will raise an error if the string isn't a valid number, whereas `#to_f` will silently return 0.0 or do a best-effort conversion (e.g. "1.2abc".to_f => 1.2) discuss order hn newest Alifatisk|1 year ago Ohhh!
Alifatisk|1 year ago