Skip to content

Decimal

mmaness edited this page Jan 11, 2013 · 10 revisions

A question which provides respondents with a text box to enter a response that is a rational number in either integer/whole number notation or decimal notation.

Format

Decimal Name
  trait
  • Name - the name of the question, must follow the rules for constants (capitalized name)
  • traits - this block contains traits, which are statements that modify the question's properties

Detailed Description

Trait Options

Example

Decimal DrinkSize
  text "How large was the last soft drink you consumed, in units of fluid ounces (fl. oz.)?"
  bounds 0, 128

Future Development

Currently, this question only accepts input which uses a period (e.g. 12.24) to denote a decimal point. A future implementation will include the option to use a comma (e.g. 12,24) to denote a decimal point.

Related Pages


Go back to Question Types

Home | JULIE Intro | Getting Started with JULIE | JULIE References | JULIE Development | Survenity Language