Update format_float

pull/1164/head
Rick Carlino 2020-03-03 15:16:05 -06:00
parent ee57987271
commit ca54de1a7a
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
defmodule FarmbotCeleryScript.FormatUtil do
def format_float(nil), do: nil
def format_float(value) when is_integer(value) do
format_float(value / 1)
end