When using the add_pumping service, specifying a float for the amount is always saved as an integer (2.73 -> 2.0, 3.5 -> 3.0, etc) in baby buddy.
I have confirmed that the baby buddy API itself handles floats just fine and saved them as expected. For some reason, the add_pumping service doesn't honor the float and converts it to an integer.
When using the
add_pumping
service, specifying a float for the amount is always saved as an integer (2.73 -> 2.0, 3.5 -> 3.0, etc) in baby buddy. I have confirmed that the baby buddy API itself handles floats just fine and saved them as expected. For some reason, the add_pumping service doesn't honor the float and converts it to an integer.