Mar-07-2020, 07:35 AM
Hi everyone,
How show decimal only for none whole number ?
and when the number have decimal limit their number to two.
I've tried this :
How show decimal only for none whole number ?
and when the number have decimal limit their number to two.
I've tried this :
1 2 |
test = 65654848 print ( f '{test:,. 2f }) |
Output:65,654,848.00
not what i'm looking for 
![[Image: NfRQr9R.jpg]](https://i.imgur.com/NfRQr9R.jpg)