Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
20c545bf
Commit
20c545bf
authored
Jan 31, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmod 返回被除数(x)除以除数(y)所得的浮点数余数
parent
cbccfdcf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
RankingListService.php
application/index/service/RankingListService.php
+1
-1
No files found.
application/index/service/RankingListService.php
View file @
20c545bf
...
@@ -221,7 +221,7 @@ class RankingListService
...
@@ -221,7 +221,7 @@ class RankingListService
//分组
//分组
$total
=
count
(
$resultArr
);
$total
=
count
(
$resultArr
);
$total_page
=
floor
(
$total
/
$crewNum_
);
$total_page
=
floor
(
$total
/
$crewNum_
);
$residue
=
$total
%
$crewNum_
;
$residue
=
fmod
(
$total
,
$crewNum_
)
;
$full
=
$total_page
*
(
$crewNumMax_
-
$crewNum_
);
$full
=
$total_page
*
(
$crewNumMax_
-
$crewNum_
);
$x
=
$crewNum_
;
$x
=
$crewNum_
;
$y
=
$total_page
;
$y
=
$total_page
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment