Revise float to str

This commit is contained in:
2024-09-18 10:36:00 +02:00
parent 336485a309
commit 197b9a3d63

View File

@@ -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 {