Home > Software engineering >  Implement a figure number to another several figure number conversion
Implement a figure number to another several figure number conversion

Time:10-21

Such as M01.4.19 M02.3.2.00 M186.1.2.3.10 M145.1.2.3.4.5.11 M128.4 M128.4.3.2.4-1 B. 5.2.2-3 M589.4 b. 2.2.2 figure through a number of algorithms into three other drawing no., is a kind of (Russell ackoff) such as S257868 S257868X S257868Y C257868 C257868X C257868Y L257868 L257868X L257868Y style, the other is a (joy), such as the last one in the following table
For example, I enter the following graph drawing no.
The input figure, output figure,
Russell ackoff joy other
M128.4.3.2.1 S257868 AD13489636 100469841
M235.3.2.6.2 S257868X BF13654825 1000080865
M568.4.4.4.6.2.00 S257868Y FG95325842 100080862
M259.6.11.5.2.10 C257868 HV96358742 100080861
M456.3.2.11.2-3 C257868X KG25135235 00256894-2217
M452.3 a. 5.3.5.1 C257868Y LW55266426 01354625-2314
M01.4.19 L223868 PF13165465 02351256-2315
M02.3.2.00 L257868X OV26562625 012546899
M186.1.2.3.10 L257268Y IB265622663 013545896
M145.1.2.3.4.5.11 L257868Y UE26626623 102356489
1023588962 YG26232326 C2556868 M128.4.3.2.4-1
M128.4 b. 5.2.2 01135135435-3 L257868Y TH26562323
M589.4 b. 2.2.2 S257868X RE26262623 10135132123
M456.3.2.2.. 2-3 C289868 1026262666 RG52252225
M568.4.3.6.6.2.00 L257868Y EH22335225 0348645431
M145.2.4.4.5.11 S257368 DG26556601 0243548483
M186.1.9.3.10 S257258X VH63256325 0131354345
M452.3.1.5.3.5 S257428 HH26523202 1043584888
Into a figure number formats:
Pictured above
1, she: first letter S, L, C, three kinds of random selection, intermediate for six random Numbers, the most bottom or without or with X, Y, two letters
2, joy: with 10, 00 or 01 and 02 and 03 at the beginning, followed by seven to 10 digits, if a total of 12, with a short line as in the previous four, and after the
3, the other: the first letter for two random letters a-z, the careless with eight digit
Basic requirements: 1, XP, W7 etc commonly used computer system available
2, can copy, need not set up any computer environment variable, or set parameters seldom
3. As shown in the table above a similar interface, a time to be able to be changed in drawing no. 20-40 (above 18) the more the better, if not implemented, 10 or
4. With an inverse function, can restore a figure number back (in the table above shows, free play)
5. Can be directly from the office software in the form of copy paste to software, can also be copied out, can be manually input
6. Algorithm is unlimited, figure number to meet the output format, calculating what number unlimited
7. The program used any species, as simple as possible, I think maybe later can use the change

Note: 1, the above-mentioned center number is not one-to-one correspondence, only expressed in the form
  • Related