跳到主要内容

calc_time_score

将时间值转换城一个介于0和1之间的浮点数(用来辅助排名权重计算,时间越小,值越大)

声明

float calc_time_score(mixed t)

参数

参数名描述
t时间值

返回值

浮点数

使用方式

返回文档