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,
dbTimeTime,
rowsDbSlice[iDb].Status,
fmt.Sprintf("%f,%f",
rowsDbSlice[iDb].Latitude, rowsDbSlice[iDb].Longitude)},
fmt.Sprintf("%s,%s",
strconv.FormatFloat(rowsDbSlice[iDb].Latitude, 'f', -1, 64),
strconv.FormatFloat(rowsDbSlice[iDb].Longitude, 'f', -1, 64))},
tableId,
startFromId)
if err != nil {