9d845c8899
- backend moved to backend directory - added and initialized frontend with vue - moved infrastructure files to infra directory
12 lines
183 B
Go
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)
|
|
}
|