Why can’t I pass LTV with a decimal?

The Lifetime Value (LTV) report provides insights on the value your users generate within your app in order to determine the volume and value of transactions that occur over time and which users generate the highest value.

LTV data must be passed as an integer amount. So, for example, if an item's purchase amount is $2.99, you would pass the integer 299 as its LTV.

You may configure your app (within the Localytics dashboard) to treat LTV as a direct monetary value (in $USD), in which case it will automatically append two decimal places to each value in your dashboard – so in the example above, an LTV of 299 would be displayed in your dashboard as $2.99. Conversely, you may also have LTV treated as a direct "Raw Value" as well, in which case the dashboard will simply display the data as they were received (eg. 299).