Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by merkaba48

Otherwise, the solution depends on the range of the values you want to store. If e.g. you want to store only whole values from 0 - 9, you can then save a single number

E.g. you want to store 1, 6, and 9. The number would be 169. Then, to get the numbers back, you can do

Var A = (169 - (169 remainder division 100)) / 100
Var B = ((169 remainder division 100) - (169 remainder division 10)) / 10
Var B = 169 remainder division 10

(there might be a better way to do this, but hopefully you get the idea. Remainder division will probably be needed at some point.)

Oh dear! Your browser is either unsupported, or there has been a problem loading the page.