Expand description
数字生成器模块
Functions§
- adult_
age - 生成成人年龄(18-80)
- age
- 生成年龄
- bank_
card_ cn - 生成银行卡号(中国)
- bmi
- 生成BMI指数
- child_
age - 生成儿童年龄(1-17)
- credit_
card - 生成信用卡号(别名)
- credit_
card_ number - 生成银行卡号(16位)
- currency
- 生成货币金额
- failing_
score - 生成不及格分数(0-59)
- float
- 生成指定范围的浮点数
- float_
with_ precision - 生成指定精度的浮点数
- id_
card_ cn - 生成身份证号码(中国,18位)
- integer
- 生成指定范围的整数
- negative_
integer - 生成负整数
- passing_
score - 生成及格分数(60-100)
- percentage
- 生成百分比(0-100)
- phone_
number - 生成电话号码(通用)
- phone_
number_ cn - 生成手机号码(中国)
- positive_
integer - 生成正整数
- price
- 生成价格(0.01-9999.99)
- probability
- 生成概率值(0.0-1.0)
- random_
float - 生成指定范围内的随机浮点数
- random_
int - 生成指定范围内的随机整数
- salary
- 生成工资(20000-1000000)
- score
- 生成分数(0-100)
- senior_
age - 生成老年人年龄(60-100岁)
- teenager_
age - 生成青少年年龄(13-19岁)
- temperature_
celsius - 生成温度(摄氏度)
- temperature_
fahrenheit - 生成温度(华氏度)
- weight_
kg - 生成体重(公斤)