answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What symbols do we use with decimal numeric and string variables?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between numeric and string variables?

Numeric variables store numbers for doing mathematics, counting etc.. String variables store printable sets of characters that can be read by humans in what ever language. int i=3; /* a numeric variable in c */ char *hello = "Hello world, Im 3 years old" /* string that contains a number */ Computer languages generally provide many different ways to transform one into the other.


How can you check if a variable is a string or an integer in PHP?

Integers - The "is_int()" function can be used to check if a variable is has an integer for its value. ---- is_int($variable); // Returns true if $variable is an integer - otherwise false ---- Numeric Strings - Numeric strings are strings with numbers (or things that count as numbers) in them. Numeric-string variables are not integer variables. Numeric-string variables are passed on through forms, instead of integer variables - if you were wondering. Check form values using string formats, and not integer formats. The "is_numeric()" function can be used to check if a variable is a string with numbers - and only numbers - in it (except things that add up to be numbers). ---- is_numeric($variable); // Returns true if $variable is a string, and only contains numbers (broadly speaking) - false otherwise ---- Strings - String values are just text, basically. String variables can contain integers, but that does not make it an integer-type variable - it makes it a numeric string variable. The "is_string" function can be used to check if a variable contains the value of a string. ---- is_string($variable); // Returns true if $variable is a string - false otherwise


What is alphabetic chars only?

In computer programming, a string can be made up of; all numbers (a numeric string,) all letters, (an alphabetic string,) or a mixture of numbers, letters, and symbols, (an alphanumeric string.)


How can assign a value to a variable in GB Basic?

to simply assign a variable a numeric value a=10 anything=12 etc for string variables a$="sweet" ex$="happy christmas" etc to assign a value by input input"enter numerical value";numeric input"enter string value";string$ i hope that clears it up


Must contain a number?

A numeric string.


Why percentage i is not used for integer data-type in c language?

C is statically typed. There is no need for dollar or percentage symbols to differentiate between character/string data and numeric data.


What is the puporse of using Val function in Visual basic 6.0?

Val() function is used in Visual Basic 6.0 to convert a string to a numeric value (such as integer, double etc.) or to extract a numeric value out of a string, as illustrated below.Val function as used to convert a string to a numeric valuefor example, let str be a string,Dim str as stringDim int as integerstr="09090"int=val(str)gives int = 9090also, used to extract the numeric part out of a following string,ie. a=val("98ASR_tyui") would give a=98however,b=val("The89")would give b=0 as there is no numeric value preceding the string.


What sql function returns the numeric position of a named string?

SUBSTR


What is A repeating decimal is a decimal that?

.. has a string of digits which repeats for ever.


Variables declared using the string data type usually are initialized to the empty string?

Yes.


What is the difference between numeric and string constant?

A numeric constant has a defined numeral value, eg.- 2, 9, 23, 168, etc. A string constant has a defined string value, or a value having english alphabets, eg.- 'A quick brown fox jumps over the lazy dog.'


What are the rules for the expression evaluation in Java?

* arithmetic expressions are evaluated from left to right using the rules of precedence.. * when parentheses are used,the expressions within parentheses assume highest priority... * if parentheses are nested, the evaluation begins with the inner most parentheses... * the associativity rules are applied when 2 or more operators of same precedence level appear in a sub expression