Skip to content

Commit

Permalink
fix realString (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Oct 7, 2020
1 parent 362e9db commit 538fc63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/metaRuntime.jl
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ function realInt(r::ModelicaReal)::ModelicaInteger
end

function realString(r::ModelicaReal)::String
local str::String
string(str)
local str::String = "$r"
str
end

function stringCharInt(ch::String)::ModelicaInteger
Expand Down

0 comments on commit 538fc63

Please sign in to comment.