In scala , how does one achieve converting type Int to Number?
var A : Int = 10
How do i convert A to number type? I want to plot a bar chart using scalafx, and NumberAxis accept number as the data. So , i will need to convert Int to Number. How do i achieve that? Thank you