I am just starting Visual Basics and I was fine until I had to learn variables and calculations. I just received an F on my last project and was wondering how in the world I can go about learning variables and constants and declaration. How do they relate? On the following:

' Declare a named constant.
Const DISCOUNT_RATE_Decimal As Decimal = .15D

What does .15D stand for?:sad:

Recommended Answers

All 3 Replies

What does .15D stand for?:sad:

D is decimal
F is float
S is short
L is long
etc.

Member Avatar for Dukane

The D at the end of the line is simply a notation to say, "this is a decimal value"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.