Integer vs decimal - automatic switching

Discuss the jamovi platform, possible improvements, etc.
Post Reply
RHainez
Posts: 105
Joined: Wed Feb 08, 2017 3:14 pm

Integer vs decimal - automatic switching

Post by RHainez »

Hi,

When someone is trying to input decimal data into a column which is labeled "integer", jamovi prevents it.

Is it possible that the "integer" label automatically adapts to "decimal" in this situation?

Have a nice day
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Integer vs decimal - automatic switching

Post by jonathon »

it depends ... so if it's a new blank column, it will automatically convert from integer to decimal as the person types the values in.

however, if the column has come from a data file, or the user has manually changed it to 'integer', then we assume that the person entering a decimal has made a typo, or hasn't understood that the person who set up the data file intended it to only accept integers.

i don't think there's a perfect behaviour here, but i think what we've got is pretty reasonable.

cheers

jonathon
Post Reply