mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.doc Convertion between string and numbers are now documented
git-svn-id: svn://ultimatepp.org/upp/trunk@10490 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e794e89f82
commit
14c4c132ab
1 changed files with 54 additions and 0 deletions
54
uppsrc/Core/src.tpp/StringsAndNumbersConvertion$en-us.tpp
Normal file
54
uppsrc/Core/src.tpp/StringsAndNumbersConvertion$en-us.tpp
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
topic "Convertion between strings and numbers";
|
||||
[2 $$0,0#00000000000000000000000000000000:Default]
|
||||
[i448;a25;kKO9;2 $$1,0#37138531426314131252341829483380:class]
|
||||
[l288;2 $$2,2#27521748481378242620020725143825:desc]
|
||||
[0 $$3,0#96390100711032703541132217272105:end]
|
||||
[H6;0 $$4,0#05600065144404261032431302351956:begin]
|
||||
[i448;a25;kKO9;2 $$5,0#37138531426314131252341829483370:item]
|
||||
[l288;a4;*@5;1 $$6,6#70004532496200323422659154056402:requirement]
|
||||
[l288;i1121;b17;O9;~~~.1408;2 $$7,0#10431211400427159095818037425705:param]
|
||||
[i448;b42;O9;2 $$8,8#61672508125594000341940100500538:tparam]
|
||||
[b42;2 $$9,9#13035079074754324216151401829390:normal]
|
||||
[{_}
|
||||
[ {{10000@(113.42.0) [s0;%% [*@7;4 Convertion between strings and numbers]]}}&]
|
||||
[s9; Sometimes you need to convert numbers to strings and vice vers.
|
||||
U`+`+ provides several functions to help you efficiency deal
|
||||
with that task. In this reference topic, we only mention the
|
||||
most important ones.&]
|
||||
[s3; &]
|
||||
[s0; If you are looking for more powerfull convertion tools. You
|
||||
can see at [^topic`:`/`/Core`/src`/Format`$en`-us`#Formatting`:`:struct^ Format]
|
||||
and [^topic`:`/`/Core`/src`/Convert`$en`-us`#Convert`:`:class^ Convert]
|
||||
class documentation.&]
|
||||
[s0; &]
|
||||
[ {{10000F(128)G(128)@1 [s0;%% [* String to number converting functions]]}}&]
|
||||
[s3; &]
|
||||
[s5;:Upp`:`:StrInt`(const char`*`): [@(0.0.255) int]_[* StrInt]([@(0.0.255) const]_[@(0.0.255) c
|
||||
har`*]_[*@3 s])&]
|
||||
[s2; Converts string to integer.&]
|
||||
[s7;%% [%-*C@3 s]-|String&]
|
||||
[s7;%% [*/ Return value]-|String converted to integer.&]
|
||||
[s3; &]
|
||||
[s0; &]
|
||||
[ {{10000F(128)G(128)@1 [s0;%% [* Number to string converting functions]]}}&]
|
||||
[s0; &]
|
||||
[s5;:Upp`:`:IntStr`(int`): [_^Upp`:`:String^ String]_[* IntStr]([@(0.0.255) int]_[*@3 i])&]
|
||||
[s2; Converts integer to string.&]
|
||||
[s7;%% [%-*C@3 i]-|Integer.&]
|
||||
[s7;%% [*/ Return value]-|Integer converted to string.&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:IntStr64`(Upp`:`:int64`): [_^Upp`:`:String^ String]_[* IntStr64]([_^Upp`:`:int64^ i
|
||||
nt64]_[*@3 i])&]
|
||||
[s2; Converts 64 bits integer to string.&]
|
||||
[s7;%% [%-*C@3 i]-|Integer.&]
|
||||
[s7;%% [*/ Return value]-|Integer converted to string.&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:DblStr`(double`): [_^Upp`:`:String^ String]_[* DblStr]([@(0.0.255) double]_[*@3 d
|
||||
])&]
|
||||
[s2; Converts double precision number to string.&]
|
||||
[s7;%% [%-*C@3 i]-|Integer.&]
|
||||
[s7;%% [*/ Return value]-|Double converted to string.&]
|
||||
[s3; &]
|
||||
[s0; ]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue