ArrayArrayArrayArray BrainModular BrainModular Users Forum 2015-12-23T20:29:16+02:00 https://brainmodular.com/forums/app.php/feed/topic/5239 2015-12-23T20:29:16+02:00 2015-12-23T20:29:16+02:00 https://brainmodular.com/forums/viewtopic.php?t=5239&p=34363#p34363 <![CDATA[number display and format]]> then if want only displaying 10 instead of 010, can use an extract sub-array to keep only 2 last digits. (as text is array)
ie on the module set the length to 2 and the start pos is connected to a if a>9. so you would get back 01,02,... 10,11

Statistics: Posted by 23fx23 — 23 Dec 2015, 19:29


]]>
2015-12-23T10:11:10+02:00 2015-12-23T10:11:10+02:00 https://brainmodular.com/forums/viewtopic.php?t=5239&p=34358#p34358 <![CDATA[number display and format]]> Substract modulo result from original value is good ! but for concat string, I want to have 2 digits (from 01 to 59) even if the input is 1, 2, 3 ( I want to turn it in 01, 02, 03... 10, 11...).

Statistics: Posted by rlgsbt — 23 Dec 2015, 09:11


]]>
2015-12-22T18:35:49+02:00 2015-12-22T18:35:49+02:00 https://brainmodular.com/forums/viewtopic.php?t=5239&p=34355#p34355 <![CDATA[number display and format]]>
not sure if well understood but can substract modulo result to original value to get the rest maybe?

Statistics: Posted by 23fx23 — 22 Dec 2015, 17:35


]]>
2015-12-22T10:37:45+02:00 2015-12-22T10:37:45+02:00 https://brainmodular.com/forums/viewtopic.php?t=5239&p=34352#p34352 <![CDATA[number display and format]]> How can I turn "3" into "03". It's for a clock or a counter.
thanks
SB

by the way, is it possible to get the rests after a modulo ?

Statistics: Posted by rlgsbt — 22 Dec 2015, 09:37


]]>
BrainModular BrainModular Users Forum 2015-12-23T20:29:16+02:00 https://brainmodular.com/forums/app.php/feed/topic/5239 2015-12-23T20:29:16+02:00 2015-12-23T20:29:16+02:00 https://brainmodular.com/forums/viewtopic.php?t=5239&p=34363#p34363 <![CDATA[number display and format]]> then if want only displaying 10 instead of 010, can use an extract sub-array to keep only 2 last digits. (as text is array)
ie on the module set the length to 2 and the start pos is connected to a if a>9. so you would get back 01,02,... 10,11

Statistics: Posted by 23fx23 — 23 Dec 2015, 19:29


]]>
2015-12-23T10:11:10+02:00 2015-12-23T10:11:10+02:00 https://brainmodular.com/forums/viewtopic.php?t=5239&p=34358#p34358 <![CDATA[number display and format]]> Substract modulo result from original value is good ! but for concat string, I want to have 2 digits (from 01 to 59) even if the input is 1, 2, 3 ( I want to turn it in 01, 02, 03... 10, 11...).

Statistics: Posted by rlgsbt — 23 Dec 2015, 09:11


]]>
2015-12-22T18:35:49+02:00 2015-12-22T18:35:49+02:00 https://brainmodular.com/forums/viewtopic.php?t=5239&p=34355#p34355 <![CDATA[number display and format]]>
not sure if well understood but can substract modulo result to original value to get the rest maybe?

Statistics: Posted by 23fx23 — 22 Dec 2015, 17:35


]]>
2015-12-22T10:37:45+02:00 2015-12-22T10:37:45+02:00 https://brainmodular.com/forums/viewtopic.php?t=5239&p=34352#p34352 <![CDATA[number display and format]]> How can I turn "3" into "03". It's for a clock or a counter.
thanks
SB

by the way, is it possible to get the rests after a modulo ?

Statistics: Posted by rlgsbt — 22 Dec 2015, 09:37


]]>