Number variable

    0

    15

    Giovanny Gongora

    Codiga's TypeScript Recipes

    All numbers in TypeScript are floating-point values. These floating-point numbers get the type number. In addition to hexadecimal and decimal literals, TypeScript also supports binary and octal literals introduced in ECMAScript 2015.

    const myAge: number = 42;
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.