XLSForms మరియు rtSurvey లో decimal ప్రశ్న రకం భిన్న భాగాలు కలిగి ఉండగల సంఖ్యా ప్రతిస్పందనలు సేకరించడానికి ఉపయోగించబడుతుంది. కొలతలు, ధరలు, లేదా శాతాలు వంటి ఖచ్చితమైన సంఖ్యా డేటా సేకరించడానికి ఈ ప్రశ్న రకం అవసరం.

ప్రాథమిక XLSForm స్పెసిఫికేషన్

typenamelabel
decimalweightEnter your weight in kg

ప్రాథమిక decimal ప్రశ్న రకంపై మరిన్ని వివరాలకు, XLSForm specification చూడండి.

వినియోగాలు

Decimal ప్రశ్నలు సాధారణంగా వీటికి ఉపయోగిస్తారు:

  1. కొలతలు (ఉదా. బరువు, ఎత్తు, దూరం)
  2. ఆర్థిక డేటా (ఉదా. ధరలు, జీతాలు)
  3. శాతాలు
  4. శాస్త్రీయ డేటా సేకరణ
  5. మొత్తం సంఖ్యలకు మించిన ఖచ్చితత అవసరమైన ఏ సంఖ్యా డేటా

Constraints మరియు ధృవీకరణ

నమోదు చేయబడిన విలువ నిర్దిష్ట శ్రేణిలో ఉందని నిర్ధారించడానికి constraints జోడించవచ్చు:

typenamelabelconstraintconstraint_message
decimalheightEnter your height in meters.>0 and .<=3Height must be between 0 and 3 meters

ఉదాహరణ వినియోగం

ఆరోగ్య సర్వేలో decimal ప్రశ్నలు ఎలా ఉపయోగించవచ్చో ఒక ఉదాహరణ:

typenamelabelconstraintconstraint_message
decimalweightEnter your weight in kg.>0 and .<=500Weight must be between 0 and 500 kg
decimalheightEnter your height in meters.>0 and .<=3Height must be between 0 and 3 meters
decimalbody_tempEnter your body temperature in Celsius.>=35 and .<=42Temperature must be between 35°C and 42°C
calculatebmi

BMI కోసం calculate వరుసలో, మీరు ఉపయోగించవచ్చు:

  calculation | ${weight} / (${height} * ${height})
  

ఇది నమోదు చేయబడిన బరువు మరియు ఎత్తు ఉపయోగించి BMI లెక్కిస్తుంది.

ఉత్తమ పద్ధతులు

  1. ఆశించిన input మరియు కొలత యూనిట్ నిర్దేశించడానికి స్పష్టమైన మరియు సంక్షిప్తమైన labels ఉపయోగించండి.
  2. అవాస్తవికమైన లేదా తప్పు inputs నివారించడానికి range constraints అమలు చేయండి.
  3. ఉదాహరణలు అందించడానికి లేదా ఆశించిన format స్పష్టం చేయడానికి hint text ఉపయోగించడం పరిగణించండి.
  4. ఖచ్చితత ముఖ్యమైతే label లేదా hint లో కావలసిన దశాంశ స్థానాల సంఖ్య నిర్దేశించండి.

పరిమితులు

  • Decimal సంఖ్యల ఖచ్చితత అంతర్లీన సిస్టమ్ లేదా database చే పరిమితం కావచ్చు.
  • వినియోగదారులకు వారి locale ని బట్టి ఆశించిన దశాంశ separator (period లేదా comma) పై మార్గదర్శనం అవసరం కావచ్చు.
  • పెద్ద decimal సంఖ్యలు మొబైల్ పరికరాలపై చదవడం లేదా ఖచ్చితంగా input చేయడం కష్టంగా ఉండవచ్చు.
ఈ పేజీ సహాయకరంగా ఉందా?