Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

How to realize a converter from decimal to binary and vice versa

How to realize a converter from decimal to binary and vice versa

Hello, I'm new to modelica and try to write a converter from decimal to binary and vice versa. My first question is: what is the best type for doing that? Block, function or what else? Next is what is a good way to store an intermediate result in a variable?

Thanks
Falk

There are 0 guests and 0 other users also viewing this topic
You are here: