What is the difference between NUM and int in Dart?

Numbers come in two flavors in Dart: integers of arbitrary size and decimal 64 bit doubles as specified by the IEEE 754 standard. Both int and double are subinterfaces of num. num is the supertype, int and double extend num. The num interface defines the basics like +, -, /, and *.

Sizin İçin Seçtik  Can you convert int to string?

Leave a Reply

Your email address will not be published. Required fields are marked *