This website requires JavaScript.
Explore
Help
Register
Sign in
DGNum
/
demarches-normaliennes
Watch
15
Star
1
Fork
You've already forked demarches-normaliennes
0
Code
Issues
1
Pull requests
Projects
Releases
Packages
Wiki
Activity
97a92e279b
demarches-normaliennes
/
app
/
services
/
number_service.rb
6 lines
103 B
Ruby
Raw
Normal View
History
Unescape
Escape
Connexion page is contextualized with procedure title and description when is access with link.
2016-05-26 15:59:50 +02:00
class
NumberService
Add missing brackets around parameters in method definitions
2018-03-20 17:47:37 +01:00
def
self
.
to_number
(
string
)
Connexion page is contextualized with procedure title and description when is access with link.
2016-05-26 15:59:50 +02:00
string
.
to_s
if
Float
(
string
)
rescue
nil
end
Files should end with a new line
2017-04-04 15:27:04 +02:00
end
Reference in a new issue
Copy permalink