- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for RoundHalfUp (0.31 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
// if you want some resources, you should get some resources, even if you asked for way too small // of an amount. Arguably, this should be inf.RoundHalfUp (normal rounding), but that would have // the side effect of rounding values < .5n to zero. if v, ok := amount.Unscaled(); v != int64(0) || !ok { amount.Round(amount, Nano.infScale(), inf.RoundUp) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 23.8K bytes - Viewed (0)