Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8a22ebe1
authored
Aug 18, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
千分位
1 parent
22e6c17c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
pages/tab/outputValue/index.wxs
pages/tab/outputValue/index.wxs
View file @
8a22ebe
...
@@ -14,7 +14,7 @@ var setPrice = function (n = 0.0) {
...
@@ -14,7 +14,7 @@ var setPrice = function (n = 0.0) {
}
}
var threeNumForTwo = {
var threeNumForTwo = {
money_three_for_two_thousands: function (num) {
money_three_for_two_thousands: function (num
, isInt = true
) {
//num = parseInt(num);
//num = parseInt(num);
// return num
// return num
var num = num + ''
var num = num + ''
...
@@ -42,7 +42,7 @@ var threeNumForTwo = {
...
@@ -42,7 +42,7 @@ var threeNumForTwo = {
result = num + result
result = num + result
}
}
// return result
// return result
return d + (result + num2)
return
isInt ? d + result :
d + (result + num2)
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment