SelectList of Double Values RRS feed

  • Question

  • User-309523270 posted


    I have a double datafield in the viewmodel.  The data entry for this field is a SelectList with at least 1 decimal { 6.0, 6.5, 7.0, 7.5, 8.0, 8.5... }.  Upon retrieving data from the database, the viewmodel shows "6". Thus, the data of the record is not displayed correctly in the SelectList and shows "blank" instead of "6.0".  No problems with those having values ending in ".5".

    Thanks for your input!


    Tuesday, October 29, 2019 9:07 PM

All replies