-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fecc648
commit 0682c1f
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
= Polecenie ZSystemuLiczenia | ||
:page-en: commands/FromBase | ||
ifdef::env-github[:imagesdir: /en/modules/ROOT/assets/images] | ||
|
||
ZSystemuLiczenia( "<Liczba jako tekst>", <Podstawa Systemu> ):: | ||
Konwertuje daną liczbę z systemu liczbowego o danej https://en.wikipedia.org/wiki/Radix[podstawie] na system dziesiętny. Podstawa musi być z zakresu od _2_ do _36_. | ||
Liczba musi być liczbą całkowitą. | ||
|
||
[EXAMPLE] | ||
==== | ||
* `++ZSystemuLiczenia("FF", 16)++` daje w wyniku 255. | ||
* `++ZSystemuLiczenia("100000000", 2)++` daje w wyniku 256. | ||
==== | ||
|
||
[NOTE] | ||
==== | ||
Zobacz także polecenie xref:/commands/NaSystemLiczenia.adoc[NaSystemLiczenia]. | ||
==== |