Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
10 months ago
by
Vladimir Barsukov
Browse files
Options
Download
Email Patches
Plain Diff
parse num
parent
9a36fac2
master
v1.6.3
v1.6.2
v1.6.1
v1.6.0
v1.5.4
v1.5.3
v1.5.2
v1.5.1
v1.5.0
v1.4.8
v1.4.7
v1.4.6
v1.4.5
v1.4.4
v1.4.3
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
zutils/parse.go
+5
-0
zutils/parse.go
with
5 additions
and
0 deletions
+5
-0
zutils/parse.go
+
5
-
0
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
)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets