You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected to get an integer from (( calc )) when only integer operations were involved. Not sure if this is a Go thing, a fmt thing, or a YAML thing, but it sure confuses UAA when it's idle timeouts are specified as non-integers.
The text was updated successfully, but these errors were encountered:
((calc)) is returning float64 values, which get strconv'd into scientific notation from inside the yaml marshaler.
Adding a test to calc to convert float64s that represent ints into int64s to avoid this where it's possible, though if the output of calc is in fact a large float64, it will still get converted into scientific notation.
This is fun:
https://play.spruce.cf/#f22093c2bbbf84230879f13c0d92963e
I expected to get an integer from
(( calc ))
when only integer operations were involved. Not sure if this is a Go thing, afmt
thing, or aYAML
thing, but it sure confuses UAA when it's idle timeouts are specified as non-integers.The text was updated successfully, but these errors were encountered: