Thep Excel

Function Explainer

Number functions · Power Query 52 ฟังก์ชัน

52 ฟังก์ชัน

เรียงตาม

ฟังก์ชัน ใช้ทำอะไร มีตั้งแต่ นิยม ยาก ประโยชน์
Number.Round Number functions Number.Round(number as nullable number, optional digits as nullable number, optional roundingMode as nullable number) as nullable number

Number.Round ปัดเศษตัวเลขทศนิยมตามจำนวนหลักที่กำหนด โดย default ใช้ RoundingMode.ToEven (Banker's Rounding) หรือเลือกวิธีปัดเศษอื่นได้

นิยม 8 ยาก 2 ประโยชน์ 8

8 2 8
Number.From Number functions Number.From(value as any, optional culture as nullable text) as nullable number

Number.From จะพยายามแปลงค่า Input ให้เป็น Number หากเป็น Text จะพยายาม Parse ตัวเลขออกมา หากเป็น Date/Time จะแปลงเป็น Serial Number (เช่นเดียวกับ Excel)

นิยม 7 ยาก 2 ประโยชน์ 7

7 2 7
Number.RoundDown Number functions Number.RoundDown(number as nullable number, optional digits as nullable number) as nullable number

ปัดเศษลงเสมอ (Floor)

นิยม 6 ยาก 2 ประโยชน์ 6

6 2 6
Number.FromText Number functions Number.FromText(text as nullable text, optional culture as nullable text) as nullable number

Number.FromText แปลงค่าข้อความที่เป็นตัวแทนของตัวเลขเป็นค่าตัวเลขจริง รองรับการจัดรูปแบบตัวเลขต่างๆ รวมถึงสัญกรณ์วิทยาศาสตร์

นิยม 6 ยาก 3 ประโยชน์ 6

6 3 6
Number.RoundUp Number functions Number.RoundUp(number as nullable number, optional digits as nullable number) as nullable number

ปัดเศษขึ้นเสมอ (Ceiling)

นิยม 6 ยาก 2 ประโยชน์ 6

6 2 6
Number.ToText Number functions Number.ToText(number as nullable number, optional format as nullable text, optional culture as nullable text) as nullable text

Number.ToText จะแปลงค่าตัวเลขให้เป็น Text String โดยสามารถระบุ format เพื่อจัดรูปแบบการแสดงผลได้ (เช่น "N2" สำหรับทศนิยม 2 ตำแหน่ง หรือ "C" สำหรับสกุลเงิน) และระบุ culture ได้

นิยม 6 ยาก 2 ประโยชน์ 6

6 2 6
Number.Abs Number functions Number.Abs(number as nullable number) as nullable number

หาค่าสัมบูรณ์ (Absolute Value)

นิยม 6 ยาก 2 ประโยชน์ 6

6 2 6
Number.Tan Number functions number.tan(value as any) as any

Number.Tan ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Log10 Number functions Number.Log10(number as number) as number

Number.Log10 คำนวณลอการิทึมฐาน 10 ของตัวเลข มีประโยชน์ในการวัดสเกลลอการิทึม เช่นสเกล pH และสเกล Richter

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Cosh Number functions number.cosh(value as any) as any

Number.Cosh ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.RandomBetween Number functions Number.RandomBetween(bottom as any, top as any) as any

สุ่มตัวเลขระหว่างช่วงที่กำหนด

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Asin Number functions number.asin(value as any) as any

Number.Asin ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Sinh Number functions number.sinh(value as any) as any

Number.Sinh ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Log Number functions Number.Log(number as number, optional base as nullable number) as number

Number.Log คำนวณลอการิทึมธรรมชาติของตัวเลข (ลอการิทึมฐาน e) สามารถระบุฐานที่ต้องการได้ มีประโยชน์ในการคำนวณทางวิทยาศาสตร์และสถิติ

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Cos Number functions number.cos(value as any) as any

Number.Cos ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Int8.From Number functions int8.from(value as any) as any

Int8.From แปลงค่าต่างๆ เป็นประเภท Int8 (8-bit integer) ที่มีช่วง -128 ถึง 127 ใช้สำหรับข้อมูลขนาดเล็กมากหรือเมื่อต้องการประหยัด memory สูงสุด

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Sin Number functions number.sin(value as any) as any

Number.Sin ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Combinations Number functions number.combinations(value as any) as any

Number.Combinations ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Sign Number functions Number.Sign(number as nullable number) as nullable number

คืนค่าเครื่องหมายของตัวเลข (-1, 0, 1)

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Int16.From Number functions int16.from(value as any) as any

Int16.From แปลงค่าต่างๆ เป็นประเภท Int16 (16-bit integer) ที่มีช่วง -32768 ถึง 32767 ใช้สำหรับข้อมูล ID เล็กหรือเมื่อต้องการประหยัด memory

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.RoundTowardZero Number functions number.roundtowardzero(value as any) as any

Number.RoundTowardZero ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.IntegerDivide Number functions Number.IntegerDivide(dividend as number, divisor as number) as number

Number.IntegerDivide ทำการหารจำนวนสองจำนวน แล้วปัดเศษลงให้เหลือแต่จำนวนเต็ม ฟังก์ชันนี้มีประโยชน์เมื่อต้องการหารและได้ผลลัพธ์เป็นจำนวนเต็ม เช่นหารจำนวนสินค้าด้วยปริมาณต่อแพ็ก

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.BitwiseXor Number functions number.bitwisexor(value as any) as any

Number.BitwiseXor ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Currency.From Number functions currency_from(value as any) as any

Currency.From แปลงค่าตัวเลขเป็นค่าสกุลเงิน (currency)

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.RoundAwayFromZero Number functions number.roundawayfromzero(value as any) as any

Number.RoundAwayFromZero ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.BitwiseShiftRight Number functions number.bitwiseshiftright(value as any) as any

Number.BitwiseShiftRight ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Int64.From Number functions Int64.From(value as any, optional culture as nullable text) as nullable number

Int64.From แปลงค่าต่างๆ เช่น ตัวเลข (number) ข้อความ (text) เป็นประเภทข้อมูล Int64 ซึ่งเป็นจำนวนเต็ม 64-bit ที่มีช่วงค่าตั้งแต่ -9223372036854775808 ถึง 9223372036854775807 ใช้สำหรับตัวเลขที่ใหญ่เกินไปสำหรับ Int32 เช่น timestamp ตัวเลข ID ขนาดใหญ่

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Permutations Number functions number.permutations(value as any) as any

Number.Permutations ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.BitwiseShiftLeft Number functions number.bitwiseshiftleft(value as any) as any

Number.BitwiseShiftLeft ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Int32.From Number functions Int32.From(value as any, optional culture as nullable text) as nullable number

Int32.From แปลงค่าต่างๆ เช่น ตัวเลข (number) ข้อความ (text) เป็นประเภทข้อมูล Int32 ซึ่งเป็นจำนวนเต็ม 32-bit ที่มีช่วงค่า -2147483648 ถึง 2147483647 ใช้สำหรับการทำงานกับระบบที่ต้องการ 32-bit integer API ที่ต้องข้อมูลในรูปแบบนี้ และการคำนวณที่ต้องความแม่นยำของจำนวนเต็ม

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Ln Number functions number.ln(value as any) as any

Number.Ln ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.BitwiseOr Number functions number.bitwiseor(value as any) as any

Number.BitwiseOr ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Acos Number functions number.acos(value as any) as any

Number.Acos ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Double.From Number functions Double.From(value as any, optional culture as nullable text) as nullable number

Double.From แปลงค่าต่างๆ เช่น ตัวเลข (number) ข้อความ (text) เป็นประเภทข้อมูล double ประเภท double เป็นตัวเลข floating-point ที่มีความเที่ยงตรงสูงกว่า single ใช้สำหรับการคำนวณทางวิทยาศาสตร์ การวิเคราะห์ข้อมูล และการประมวลผลตัวเลขที่มีขนาดใหญ่

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Power Number functions Number.Power(number as nullable number, power as nullable number) as nullable number

คำนวณเลขยกกำลัง

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.BitwiseNot Number functions number.bitwisenot(value as any) as any

Number.BitwiseNot ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Single.From Number functions single.from(value as any) as any

Single.From ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Decimal.From Number functions Decimal.From(value as any, optional culture as nullable text) as nullable number

Decimal.From แปลงค่าต่างๆ เช่น ตัวเลข (number) ข้อความ (text) ค่า boolean เป็นประเภทข้อมูล decimal ประเภท decimal มีความเที่ยงตรงสูงกว่า number ใช้สำหรับการคำนวณทางการเงิน การเก็บข้อมูลที่ต้องการความถูกต้องของทศนิยม และการประมวลผลข้อมูลด้านการบัญชี

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.IsNaN Number functions number.isnan(value as any) as any

Number.IsNaN ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Mod Number functions Number.Mod(number as nullable number, divisor as nullable number) as nullable number

หาเศษจากการหาร (Modulo)

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.BitwiseAnd Number functions number.bitwiseand(value as any) as any

Number.BitwiseAnd ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Percentage.From Number functions percentage.from(value as any) as any

Percentage.From ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Byte.From Number functions Byte.From(value as any, optional culture as nullable text) as nullable number

Byte.From แปลงค่าต่างๆ เช่น ตัวเลข (number) ข้อความ (text) และค่า boolean เป็นประเภทข้อมูล byte ค่า byte เป็นตัวเลขที่อยู่ในช่วง 0-255 ใช้สำหรับการเก็บข้อมูลไบนารี การเชื่อมต่อ API ที่ต้องข้อมูลไบต์ และการประมวลผลข้อมูลแบบต่ำระดับ

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Atan2 Number functions number.atan2(value as any) as any

Number.Atan2 ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Tanh Number functions number.tanh(value as any) as any

Number.Tanh ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Exp Number functions Number.Exp(number as number) as number

Number.Exp คำนวณค่า e^x (e ยกกำลังของตัวเลข) เป็นฟังก์ชันที่ตรงข้ามกับ Number.Log มีประโยชน์ในการคำนวณการเติบโตแบบเอกโพเนนเชียล

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Factorial Number functions number.factorial(value as any) as any

Number.Factorial ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Random Number functions Number.Random() as number

สุ่มตัวเลขระหว่าง 0 ถึง 1

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Atan Number functions number.atan(value as any) as any

Number.Atan ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 5 ยาก 3 ประโยชน์ 5

5 3 5
Number.Sqrt Number functions Number.Sqrt(number as nullable number) as nullable number

หารากที่สอง (Square Root)

นิยม 4 ยาก 3 ประโยชน์ 4

4 3 4