Message389708
I prefer Terry's original proposal which is backwards compatible and gives the user control over whether separator is to be applied to the fractional component.
>>> format(12_34_56.12_34_56, '_._f') # Whole and fractional
'123_456.123_456'
>>> format(12_34_56.12_34_56, '_.f') # Fractional component only
'123_456.123456' |
|
| Date |
User |
Action |
Args |
| 2021-03-29 15:34:44 | rhettinger | set | recipients:
+ rhettinger, mark.dickinson, vstinner, eric.smith, serhiy.storchaka, Terry Davis, domdfcoding |
| 2021-03-29 15:34:44 | rhettinger | set | messageid: <1617032084.94.0.934192479595.issue43624@roundup.psfhosted.org> |
| 2021-03-29 15:34:44 | rhettinger | link | issue43624 messages |
| 2021-03-29 15:34:44 | rhettinger | create | |
|