This website requires JavaScript.
Explore
Gist
Help
Register
Sign In
cyberes
/
ha-location-exporter
Watch
1
Star
0
Fork
You've already forked ha-location-exporter
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
a35407154f
ha-location-exporter
/
lib
/
strings.py
4 lines
104 B
Python
Raw
Blame
History
def
mysql_trim_float
(
f
)
:
s
=
str
(
f
)
return
float
(
s
.
split
(
'
.
'
)
[
0
]
+
'
.
'
+
s
.
split
(
'
.
'
)
[
-
1
]
[
:
14
]
)
Reference in New Issue
View Git Blame
Copy Permalink