You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why would you use num in Dart? I haven't encountered a case where using num made practical sense, but it especially doesn't make sense when the thing you have is already a floating point number, aka a double.
By returning num, when using the price you have to convert it back to a double even though it already is one.
The text was updated successfully, but these errors were encountered:
Why would you use
num
in Dart? I haven't encountered a case where usingnum
made practical sense, but it especially doesn't make sense when the thing you have is already a floating point number, aka adouble
.By returning
num
, when using the price you have to convert it back to adouble
even though it already is one.The text was updated successfully, but these errors were encountered: