티스토리 뷰
import numpy as np
def format_float(num):
return np.format_float_positional(num, trim='-')
format_float(1.49787938e-315)
이런식으로 쓰면 e를 직접 표현해준다.
'0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000149787938'
이렇게..
댓글