olikraus / m2tklib

Automatically exported from code.google.com/p/m2tklib
Other
49 stars 11 forks source link

Is U8NUM able to cycle within the digits of the number? #158

Open gy123321 opened 8 years ago

gy123321 commented 8 years ago

Hi! I need to input a percent number, like 1% or 100%, but

  1. U8NUM has min and max arguments, which is good. But it doesn't support cycling within the digits of the number, and this makes it tiring to input;
  2. U32NUM can cycle within the digits of the number, but doesn't support min and max. Here is the problem: if I use c2 in the format string, then I can only enter 0%-99%, and I want my perfect 100% back -.-

So is there a way to solve this conflict? Thank you all!!