The units.parse
builtin should not round to the value to the nearest integer
#43
Labels
builtins
Related to builtins implementation
units.parse("1.0005k")
outputs1000
instead of1000.5
. This is inconsistent with the Go implementation: https://play.openpolicyagent.org/p/TBQcYuuaQrMore context here: #30 (review)
The text was updated successfully, but these errors were encountered: