Opening Mileage - previously an integer, today coming back as a decimal?

Hi,

I had the ‘opening-mileage’ node in User objects previously coming back as
an integer as follows…

0

… but today it’s coming back as a decimal as follows…

0.0

… has something changed? Should I assume it safer in my code to mark this
as a decimal and the ‘mileage’ in expense objects also?

Hi Adil

We have actually just changed the format of the mileage fields I decimal. We debated whether or not to introduce a new ‘decimal mileage’ field in the API and retain the integer mileage field but the end went against this decision. It would be easy for us to backtrack if everyone thought this a more preferable solution?

Olly

It’s fine by me as I’m still in development so an easy change… though
existing apps might be affected?On Thu, Nov 10, 2011 at 8:49 AM, Olly oheadey@gmail.com wrote:

Hi Adil

We have actually just changed the format of the mileage fields I decimal.
We debated whether or not to introduce a new ‘decimal mileage’ field in the
API and retain the integer mileage field but the end went against this
decision. It would be easy for us to backtrack if everyone thought this a
more preferable solution?

Olly


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/freeagent_api/-/BEmI8fOzQnYJ.
To post to this group, send email to freeagent_api@googlegroups.com.
To unsubscribe from this group, send email to
freeagent_api+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/freeagent_api?hl=en.

FA also accepts integer mileage, so anyone submitting (but not reading)
mileage should be fine (eg, me!)On Thu, Nov 10, 2011 at 08:57, Adil Hussain adilson05uk@gmail.com wrote:

It’s fine by me as I’m still in development so an easy change… though
existing apps might be affected?

On Thu, Nov 10, 2011 at 8:49 AM, Olly oheadey@gmail.com wrote:

Hi Adil

We have actually just changed the format of the mileage fields I decimal.
We debated whether or not to introduce a new ‘decimal mileage’ field in the
API and retain the integer mileage field but the end went against this
decision. It would be easy for us to backtrack if everyone thought this a
more preferable solution?

Olly


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/freeagent_api/-/BEmI8fOzQnYJ.
To post to this group, send email to freeagent_api@googlegroups.com.
To unsubscribe from this group, send email to
freeagent_api+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/freeagent_api?hl=en.


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To post to this group, send email to freeagent_api@googlegroups.com.
To unsubscribe from this group, send email to
freeagent_api+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/freeagent_api?hl=en.

Nic Wise
t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Nearest Bus: find when the next bus is coming to your stop.
http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding!
http://goo.gl/Icp2