Ruby provides different inbuilt datatypes to declare variables of different types to store the values.

Numbers Strings Boolean Hashes Arrays Symbols

Numbers

Ruby has a Number