New answers tagged

1

Numbers in a table should be formatted so that digits with the same significance are stacked vertically. While this is often described as "right alignment" or "decimal alignment", there's another scenario I've not seen mentioned: values which sometimes include fractions. For example, if one is listing the dimensions of some components, which column is ...


1

It's difficult to give a complete answer without understanding the requirements, but there is a (potentially) existing pattern in stock Android - the data usage tab. User selects the upper maximum by dragging the x-axis line up and down to set the maximum. Downside is it may not give you the required precision to select the value - but you may be able to ...


0

If you only have room for one object, then you could use interpret a string like "unlimited" or "Infinite". Make sure you check for all possible input possibilities though! Capitalizations, different words, the number 0 is often used. As you can see, this is messy. A much safer and gradual option would be to have a toggle and a textbox (or other selector). ...


1

MATLAB uses commas to delimit columns and semicolons to delimit rows. Thus, a matrix can be displayed and edited in a single string using a combination of these delimiters. String Format: [1,2,3; 4,5,6; 7,8,9] Matrix Format: 1 2 3 4 5 6 7 8 9


1

You could just give the user a formatting syntax for defining the matrix, so it can be entered as plain text. It would probably help if you use a multi-line re-sizable text field, then you can have one vector per line, and just have space separated values. You can even format the values with extra spaces between them so that the user can clearly see ...



Top 50 recent answers are included