Typeclass for converting a value to a Float. The conversion might be lossy
(e.g. when the input is Int or Nat). The design purpose is not to
provide a formal embedding – merely a convenient bridge for visualisation
where Float is the lingua franca of JS charting libraries.
Instance Constructor
LeanPlot.ToFloat.mk.{u}
Methods
toFloat : α → Float
Convert a value to a Float.