Rounding decimals in Swift, while maintaining a trailing zero
# Rounding decimals in Swift, while maintaining a trailing zero **Summary** A functional test failed when rounding a `Decimal` value to three decimal places with a trailing zero. The rounding function correctly computed `609.660`, but Swift’s `Decimal` type internally discards trailing zeros in its representation. The test incorrectly expected a `Decimal` containing explicit trailing zero … Read more