How to Get the Decimal Portion of a Number Rating: 7 [#132] Jun 24, 2022 You can get the decimal portion of a number with % 1. Example: 5.5 % 1 => 0.5 Related Facts 7 Programming: There Is a Difference Between Function Arguments and Parameters [#30] Nov 29, 2021 5 OSX: Dash Has Support for Manpages [#73] Dec 14, 2021 2 There Are Programming ASMR Videos [#68] Dec 12, 2021 math programming