How to auto format the card number in inputbox? - abap

In the second line below, can it give a space automatically after I type a 4-digit text e.g : (XXXX space YYYY space ZZZZ)?

Related

is it possible to include multi-line text field in solidity?

I have been able to code solidity and have a single line text field for user inputs. Is it possible to include multi-line text field in solidity? I'd want the user to input a paragraph of information. Maybe more than just a paragraph.
You can store UTF-8 encoded data in string variables, so you should be able to include multiline text as well, as that's just like any other text but with line breaks in it:
Note
All identifiers (contract names, function names and variable names) are restricted to the ASCII character set. It is possible to store UTF-8 encoded data in string variables.

Formatting a column to line up with data in a text file

I am trying to set-up a text file so that the data is directly in line with its given header. For instance the file contains 7 headers (t, x(t) ect...)
np.savetxt('vel.dat', Velocity_Col, fmt='%.5e', delimiter=(' '), header = (' t x(t) y(t) z(t) vx(t) vy(t) vz(t)'))
The data is under each header, however they begin to trail off.
https://imgflip.com/i/dq514
First time posting sorry if i am doing this wrong, also the picture upload is not good but you can see the offset of the data.
Cheers !
The 5 in '%.5e' sets the number of digits displayed after the decimal point. You also want to control the total width of each field. That is controlled with a number before the decimal point in the format specification. (The number sets the minimum field width. More characters will be used if needed.) For example, you could use fmt='%15.5e' to ensure that each field uses 15 characters. You wouldn't need that long delimiter; the default delimiter would be fine. Then adjust header to match.

How to define apostrophe as thousand separator character in OFC2?

I would like to separate numbers with more then 3 digits with another character then a comma or a dot in Open Flash Chart 2.
In my region/country we format a big amount like this: 1'234'567.95
I only found the way to choose between a comma or a dot as a thousand separator here:
http://teethgrinder.co.uk/open-flash-chart-2/doxygen/html/classopen__flash__chart.html
How can I define the apostrophe character ' as number format separator like in #'###.00

How can you format the result of a formula as s number

I'm using a formula in Excel 2007 to grab a mailbox size from a string. I'm stripping out all of the text before and after, and removing the , characters, yet Excel will not format the result as a number.
Because of this, I can't run any statistics such as total size or average size.
=SUBSTITUTE(MID(MailboxEX01[[#This Row],[TotalItemSize]], FIND("(", MailboxEX01[[#This Row],[TotalItemSize]]) + 1, FIND("bytes", MailboxEX01[[#This Row],[TotalItemSize]]) - (FIND("(", MailboxEX01[[#This Row],[TotalItemSize]]) + 2)), ",", "")
I tried =TEXT({the above}, "#,##0"), which successfully added the , character as the thousands separator, but (I guess unsurprisingly) still failed to format the cell as a number.
Does anybody know how I can force the result in this cell to format as a number? Thanks.
Your formula takes text values, strips stuff out, and replaces stuff. But the result is still text. If the result of that formula contains only the characters 0 to 9, you can coerce it into a number by using
={your formula}+0
or
={your formula}*1
or
=--({your formula})
Using =TEXT({your formula}, "format") will not produce a number. The TEXT() function returns text, as the name implies.
But if you use a mathematical operator on a number that is stored as text (or a text that represents a number), the maths operation will coerce that text value into a real number. The third suggestion uses the double unary (Google that) to coerce the text into a number.

inputmask for documentum

I know that I can validate an input field by adding a inputmaskvalidator tag. I read the documentum doc :
The mask character string:
: numeric characters
& : all characters
A : alphanumeric characters only
? : alphabetic characters only
U : uppercase alphabetic characters only
L : lowercase alphabetic characters only
Example: date mask ##/##/## permits
the input date 12/24/95 To use one of
the mask characters as a literal
member of the mask string, place a
double slash (\) preceding the
character.
Let's guess I want to accept double only to store it as a double in the content server. What must be the inputmask value?
Something like that?
<dmf:inputmaskvalidator inputmask="#.#" controltovalidate="my_double" name="my_double_validator"/>
or
<dmf:inputmaskvalidator inputmask="##.##" controltovalidate="my_double" name="my_double_validator"/>
You must use other type of validator. Inputmaskvalidator is bad for your purpose. Use for example regexpvalidator. Example you can find on this page: