手机版
热门标签
站点地图
我要投稿
广告合作
联系我们
搜 索
广告位招租
广告位招租
切换导航
首页
编程教程
编程导航
编程百科
编程问答
编程博文
编程实例
硬件设备
网络运营
软件教程
移动数码
办公软件
操作系统
人工智能
栏目导航
▸ 编程语言
▸ 前端开发
▸ 移动开发
▸ 开发工具
▸ 程序设计
▸ 行业应用
▸ CMS系统
▸ 服务器
▸ 数据库
公众号推荐
微信公众号搜
"智元新知"
关注
微信扫一扫可直接关注哦!
子栏目导航
php实例代码
Javascript实例代码
python实例代码
Shell实例代码
Sql实例代码
正则表达式实例代码
Python函数
Java实例代码
C#实例代码
C语言实例代码
C++实例代码
Erlang实例代码
Dart实例代码
D3.js实例代码
D语言实例代码
CSS实例代码
Cobol实例代码
Clojure实例代码
Bootstrap实例代码
Vue实例代码
Angular实例代码
汇编语言实例
编程之家
Erlang实例代码
Erlang abs函数
-module(helloworld). -export([start/0]). start() -> Aabs = abs(-3.14), io:fwrite("~p~n",[Aabs]).
作者:编程之家 时间:2022-07-04
Erlang log函数
-module(helloworld). -import(math,[log/1]). -export([start/0]). start() -> Alog = log(3.14), io:fwrite("~p~n",[Alog]).
作者:编程之家 时间:2022-07-04
Erlang exp函数
-module(helloworld). -import(math,[exp/1]). -export([start/0]). start() -> Aexp = exp(3.14), io:fwrite("~p~n",[Aexp]).
作者:编程之家 时间:2022-07-04
Erlang atan函数
-module(helloworld). -import(math,[atan/1]). -export([start/0]). start() -> Atan = atan(0.7071), io:fwrite("~p~n",[Atan]).
作者:编程之家 时间:2022-07-04
Erlang acos函数
-module(helloworld). -import(math,[acos/1]). -export([start/0]). start() -> Acos = acos(0.7071), io:fwrite("~p~n",[Acos]).
作者:编程之家 时间:2022-07-04
Erlang asin函数
-module(helloworld). -import(math,[asin/1]). -export([start/0]). start() -> Asin = asin(0.7071), io:fwrite("~p~n",[Asin]).
作者:编程之家 时间:2022-07-04
Erlang tan函数
-module(helloworld). -import(math,[tan/1]). -export([start/0]). start() -> Tan = tan(45), io:fwrite("~p~n",[Tan]).
作者:编程之家 时间:2022-07-04
Erlang cos函数
-module(helloworld). -import(math,[cos/1]). -export([start/0]). start() -> Cosin = cos(45), io:fwrite("~p~n",[Cosin]).
作者:编程之家 时间:2022-07-04
Erlang Sin函数
-module(helloworld). -import(math,[sin/1]). -export([start/0]). start() -> Sin = sin(45), io:fwrite("~p~n",[Sin]).
作者:编程之家 时间:2022-07-04
Erlang浮点数和指数
-module(helloworld). -export([start/0]). start() -> io:fwrite("~f~n",[1.1+1.2]), io:fwrite("~e~n",[1.1+1.2]).
作者:编程之家 时间:2022-07-04
Erlang浮点数
% Erlang浮点数 -module(helloworld). -export([start/0]). start() -> io:fwrite("~w",[1.1+1.2]).
作者:编程之家 时间:2022-07-04
Erlang列表last
-module(helloworld). -import(lists,[last/1]). -export([start/0]). start() -> Lst1=[1,2,3,4], io:fwrite("~w~n",[last(Lst1)]).
作者:编程之家 时间:2022-07-04
Erlang列表duplicate
-module(helloworld). -import(lists,[duplicate/2]). -export([start/0]). start() -> Lst1 = duplicate(5,1),
作者:编程之家 时间:2022-07-04
Erlang列表droplast
-module(helloworld). -import(lists,[droplast/1]). -export([start/0]). start() -> Lst1 = [1,2,3], Lst2 = droplast(Lst1),
作者:编程之家 时间:2022-07-04
Erlang列表删除delete
-module(helloworld). -import(lists,[delete/2]). -export([start/0]). start() -> Lst1 = [1,2,3], Lst2 = delete(2,Lst1),
作者:编程之家 时间:2022-07-04
Erlang列表附加append
-module(helloworld). -import(lists,[append/2]). -export([start/0]). start() -> Lst1 = [1,2,3], Lst2 = append(Lst1,[4,5]),
作者:编程之家 时间:2022-07-04
Erlang列表any
-module(helloworld). -import(lists,[any/2]). -export([start/0]). start() -> Lst1 = [1,2,3], Predicate = fun(E) -> E rem 2 == 0 end,
作者:编程之家 时间:2022-07-04
Erlang列表all
-module(helloworld). -import(lists,[all/2]). -export([start/0]). start() -> Lst1 = [1,2,3], Predicate = fun(E) -> E rem 2 == 0 end,
作者:编程之家 时间:2022-07-04
Erlang列表
-module(helloworld). -export([start/0]). start() -> Lst1 = [1,2,3], io:fwrite("~w~n",[Lst1]).
作者:编程之家 时间:2022-07-04
Erlang子字符串
-module(helloworld). -import(string,[sub_string/3]). -export([start/0]). start() -> Str1 = "hello world",
作者:编程之家 时间:2022-07-04
Erlang to_upper函数
-module(helloworld). -import(string,[to_upper/1]). -export([start/0]). start() -> Str1 = "hello world",
作者:编程之家 时间:2022-07-04
Erlang to_lower函数
% Erlang to_lower转为小写函数 -module(helloworld). -import(string,[to_lower/1]). -export([start/0]).
作者:编程之家 时间:2022-07-04
Erlang right尾随字符
-module(helloworld). -import(string,[right/3]). -export([start/0]). start() -> Str1 = "hello",
作者:编程之家 时间:2022-07-04
Erlang right返回值
-module(helloworld). -import(string,[right/2]). -export([start/0]). start() -> Str1 = "hello World",
作者:编程之家 时间:2022-07-04
Erlang字符串返回值
-module(helloworld). -import(string,[left/3]). -export([start/0]). start() -> Str1 = "hello",
作者:编程之家 时间:2022-07-04
Erlang left函数
-module(helloworld). -import(string,[left/2]). -export([start/0]). start() -> Str1 = "hello World",
作者:编程之家 时间:2022-07-04
Erlang substr函数
-module(helloworld). -import(string,[substr/3]). -export([start/0]). start() -> Str1 = "hello World",
作者:编程之家 时间:2022-07-04
Erlang str函数
-module(helloworld). -import(string,[str/2]). -export([start/0]). start() -> Str1 = "hello World",
作者:编程之家 时间:2022-07-04
Erlang chr函数
-module(helloworld). -import(string,[chr/2]). -export([start/0]). start() -> Str1 = "hello World",
作者:编程之家 时间:2022-07-04
Erlang binary_to_atom函数
-module(helloworld). -export([start/0]). start() -> io:fwrite("~p~n",[binary_to_atom(<<"Erlang">>, latin1)]).
作者:编程之家 时间:2022-07-04
上一页
1
2
3
4
5
下一页
小编推荐
热门标签
更多
python
JavaScript
java
HTML
reactjs
C#
Android
CSS
Node.js
sql
r
python-3.x
MysqL
jQuery
c++
pandas
Flutter
angular
IOS
django
linux
swift
typescript
路由器
JSON
路由器设置
无线路由器
h3c
华三
华三路由器设置
华三路由器
电脑软件教程
arrays
docker
软件图文教程
C
vue.js
laravel
spring-boot
react-native