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
39dc5718c2
demarches-normaliennes
/
app
/
services
/
number_service.rb
6 lines
102 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
def
self
.
to_number
string
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