Integer, Fractions, Decimal, Digits, Floating - Integrated Circuits - - An Online Book - |
||||||||
| Integrated Circuits http://www.globalsino.com/ICs/ | ||||||||
| ================================================================================= | ||||||||
========================================================= Fractions: Code: ========================================================= Round to different decimal places: Code: ========================================================= Round decimals up: Code. ========================================================= Round decimals down: Code. ========================================================= Integer: Code: ========================================================= Integer: Code: ========================================================= Decimal with round() function rounding decimal places up and down: Code:
|
||||||||
| ================================================================================= | ||||||||
|
|
||||||||