Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ARRAYs
#7
Hello lionking,

I was wondering if you could help me understand a line of the code you provided to compute the daily benefit. I am trying to understand the line below.

Code:
Copy      Help
str s.format("%.0f" Result)

What I don't understand is the
Code:
Copy      Help
"%.0f"
. I have been reading the help section on the format function but I don't see this format being mentioned in the help file. Can you help understand what this format operation is doing so I have a better understanding of what is taking place in the function you wrote?

Paul


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)