Your IP : 3.142.199.54
Current Path : /lib64/python2.7/ |
|
Current File : //lib64/python2.7/fpformat.pyo |
�
zfc @ s� d Z d d l m Z e d d d �[ d d l Z d d d g Z e j d
� Z y d e f d � � YZ Wn e k
r� d Z n Xd
� Z
d � Z d � Z d � Z
d � Z d � Z d S( s8 General floating point formatting functions.
Functions:
fix(x, digits_behind)
sci(x, digits_behind)
Each takes a number or a string and a number of digits as arguments.
Parameters:
x: number to be formatted; or a string resembling a number
digits_behind: number of digits behind the decimal point
i����( t warnpy3ks2 the fpformat module has been removed in Python 3.0t
stackleveli Nt fixt scit
NotANumbers+ ^([-+]?)(\d*)((?:\.\d*)?)(([eE][-+]?\d+)?)$c B s e Z RS( ( t __name__t
__module__( ( ( s /usr/lib64/python2.7/fpformat.pyR s s fpformat.NotANumberc C s� t j | � } | d k r'