Real Number Variables


#1

I’ve searched high and low for how to define a real number variable, but to no avail. How does one go about processing real numbers?

AJ


#2

I think the number types available in programming that you will use the most are Integers, Long Integers, and Doubles.

  • Doubles will give you the decimal numbers / real numbers. You can use CDbl() or Convert.ToDouble() to change a string that’s a number to that type.
  • You can declare the type with System.Double or searching.

Hope that answers it. Thanks.