Family Day update
This commit is contained in:
parent
aac6731f2c
commit
9ad63ea473
2442 changed files with 39761 additions and 8255 deletions
|
|
@ -0,0 +1 @@
|
|||
⍕1+⍎'12345'
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
Base.:+(s::AbstractString, n::Real) = string(parse(s) + n)
|
||||
|
||||
import Base.+
|
||||
Base.:+(s::AbstractString, n::Real) = string((x = tryparse(Int, s)) isa Int ? x + 1 : parse(Float64, s) + 1)
|
||||
@show "125" + 1
|
||||
@show "125.15" + 1
|
||||
@show "1234567890987654321" + 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue