Files
FamilyHUB/backend/src/utils/numbers.go
T
admin 9d845c8899 Restructured project
- backend moved to backend directory
- added and initialized frontend with vue
- moved infrastructure files to infra directory
2026-04-01 23:16:27 +03:00

12 lines
183 B
Go

package utils
import (
"strconv"
"strings"
)
func ParseFloat(value string) (float64, error) {
value = strings.ReplaceAll(value, ",", ".")
return strconv.ParseFloat(value, 64)
}