Dev study and notes

[dart] #8 #2.0 Basic Data Types (02:12) 본문

studyLog

[dart] #8 #2.0 Basic Data Types (02:12)

devlunch4 2023. 4. 28. 23:51
반응형
void main() {
    String name = 'lunch';
    print(name.length); //
    bool alive = true;
    print(alive.runtimeType); //
    int age = 100;
    print(age.isNaN); //
    double money = 99.9;
    print(money.round()); //
    num x = 12; //In Dart num ist int and double
    x = 1.1;
    print(x.hashCode); //
}
반응형
Comments