適用於:SQL Server
Azure Data Factory 中的 SSIS Integration Runtime
傳回以 e 為底的數值運算式指數。 EXP 函數會補充 LN 函數的動作,有時亦稱為反對數 (Antilogarithm)。
語法
EXP(numeric_expression)
引數
numeric_expression
是有效的數值運算式。
結果類型
DT_R8
備註
數值運算式會先轉換為 DT_R8 資料類型,再計算指數。 如需詳細資訊,請參閱 Integration Services 資料類型。
傳回結果永遠為正數。
運算式範例
這些範例會將 EXP 函數套用至正值、負值和零值。
EXP(74)
傳回 1.373382979540176E+32。
EXP(-27)
傳回 1.879528816539083E-12。
EXP(0)
傳回 1。