Revise float to str
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user