The number type represents floating point values. It can hold values such as decimal, binary, hexadecimal, and octal literals:
let decimal: number = 6; let hex: number = 0xf00d; let binary: number = 0b1010; let octal: number = 0o744;