Revise float to str
This commit is contained in:
@@ -310,8 +310,9 @@ func syncDbToNotion(headerId string, tableId string, rowsNotion []notionapi.Tabl
|
|||||||
dbTimeDate,
|
dbTimeDate,
|
||||||
dbTimeTime,
|
dbTimeTime,
|
||||||
rowsDbSlice[iDb].Status,
|
rowsDbSlice[iDb].Status,
|
||||||
fmt.Sprintf("%f,%f",
|
fmt.Sprintf("%s,%s",
|
||||||
rowsDbSlice[iDb].Latitude, rowsDbSlice[iDb].Longitude)},
|
strconv.FormatFloat(rowsDbSlice[iDb].Latitude, 'f', -1, 64),
|
||||||
|
strconv.FormatFloat(rowsDbSlice[iDb].Longitude, 'f', -1, 64))},
|
||||||
tableId,
|
tableId,
|
||||||
startFromId)
|
startFromId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user