Difference between revisions of "Data types"

From VideoLAN Wiki
Jump to navigation Jump to search
(Create page to explain integers, boolean values, strings, and floats)
 
Line 5: Line 5:
 
;String : A data type of varying length used to represent words (punctuation is generally permitted), e.g. "foo" or "I'm a sentence."
 
;String : A data type of varying length used to represent words (punctuation is generally permitted), e.g. "foo" or "I'm a sentence."
 
;Float : A contraction of ''floating-point decimal number'' such as 1.0000 or -20.73
 
;Float : A contraction of ''floating-point decimal number'' such as 1.0000 or -20.73
 +
 +
[[Category:Glossary]]

Revision as of 09:09, 9 November 2014

Below are descriptions for data types commonly used in C-programming relevant to VLC.

Integer 
Any whole-number value, e.g. -25 or 655
Boolean 
A "toggle switch" value that is either true or false (sometimes seen as 1 or 0)
String 
A data type of varying length used to represent words (punctuation is generally permitted), e.g. "foo" or "I'm a sentence."
Float 
A contraction of floating-point decimal number such as 1.0000 or -20.73