Fungsi VBScript Exp
Referensi VBScript LengkapFungsi Exp mengembalikan e yang dipangkatkan.
Catatan: Nilai angka tidak boleh melebihi 709.782712893.
Tip: Lihat juga fungsi Log.
Sintaksis
Exp(number)
Parameter | Description |
---|---|
number | Required. A valid numeric expression |
Contoh
Contoh
<%
response.write(Exp(6.7) & "<br />")
response.write(Exp(-6.7))
%>
Output dari kode di atas akan menjadi:
812.405825167543
1.23091190267348E-03
Referensi VBScript Lengkap