Changeset 1905 in lmdz_wrf for trunk/tools/generic_tools.py
- Timestamp:
- Apr 13, 2018, 3:15:37 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic_tools.py
r1904 r1905 13059 13059 if type(number) == type(1) or type(number) == type(long(1)): 13060 13060 newStr = '{:d}'.format(number) 13061 elif type(number) == type(np.int16(1)) type(number) == type(np.int32(1)) or\13061 elif type(number) == type(np.int16(1)) or type(number) == type(np.int32(1)) or \ 13062 13062 type(number) == type(np.int64(1)): 13063 13063 newStr = '{:d}'.format(number)
Note: See TracChangeset
for help on using the changeset viewer.