Elm’s pure functional nature means that you can’t generate random numbers directly as you might in imperative languages.
Elm’s Basics module provides nifty functions for rounding.
Basics
Elm doesn’t have built-in complex number support, so you’ll create your own type and functions.