BASE

Converts a positive integer to a specified base into a text from the numbering system. The digits 0-9 and the letters A-Z are used.

វាក្យ​សម្ពន្ធ​​

BASE(Number; Radix [; MinimumLength])

លេខ គឺ​ជា​ចំនួន​គត់​វិជ្ជមានដែល​​ត្រូវ​បម្លែង ។

Radix indicates the base of the numeral system. It may be any positive integer between 2 and 36.

ប្រវែង​អប្បបរមា (ជា​ជម្រើស) កំណត់​ប្រវែង​អប្បបរមា​របស់លំដាប់​តួអក្សរ​ដែល​ត្រូវ​បាន​បង្កើត ។ ប្រសិន​បើ​អត្ថបទ​ខ្លី​ជាង​ប្រវែង​អប្បបរមា​ដែល​បានបង្ហាញ សូន្យ​ត្រូវ​បាន​បន្ថែម​ទៅ​ខាង​ឆ្វេង​នៃ​ខ្សែអក្សរ ។

ឧទាហរណ៍

=BASE(17;10;4) ត្រឡប់ 0017 នៅ​ក្នុង​ប្រព័ន្ធ​ទសភាគ ។

=BASE(17;2) ត្រឡប់ 10001 នៅ​ក្នុង​ប្រព័ន្ធ​គោលពីរ ។

=BASE(255;16;4) ត្រឡប់ 00FF នៅ​ក្នុង​ប្រព័ន្ធ​គោលដប់ប្រាំមួយ ។