Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladimir Barsukov
zGo
Commits
5528fd07
Commit
5528fd07
authored
Jun 12, 2024
by
Vladimir Barsukov
Browse files
parse num
parent
9a36fac2
Changes
1
Show whitespace changes
Inline
Side-by-side
zutils/parse.go
View file @
5528fd07
...
...
@@ -7,6 +7,11 @@ func ParseFloat(s string) float64 {
return
f
}
func
ParseFloatN
(
s
string
,
bitSize
int
)
float64
{
f
,
_
:=
strconv
.
ParseFloat
(
s
,
bitSize
)
return
f
}
func
ParseInt
(
s
string
)
int
{
f
,
_
:=
strconv
.
ParseInt
(
s
,
10
,
32
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment