[issue43966] F String bugs with numpy.float32

2021-04-28 Thread Mark Dickinson
Mark Dickinson added the comment: See https://github.com/numpy/numpy/issues/10645. I'll close here (this tracker is for core Python, and NumPy isn't part of core Python). -- nosy: +mark.dickinson resolution: -> third party stage: -> resolved status: open -> closed

[issue43966] F String bugs with numpy.float32

2021-04-28 Thread GPH
New submission from GPH : When using F String with numpy.float32 variable, the output is wrong! Example code: ```python import numpy as np floatNumber = 0.00123 print(f"num:{floatNumber}") npFloatNumber = np.float32(0.00123) print(f"num:{npFloatNumber}") ``` The output is: ``` num:0.00123