For example, if we wanted to show weight loss, and there were three datapoints: 300; 280; and 265. Weight loss would be 20 on the second point and 35 on the third point. Is there a way to show that without hard coding it? Thanks.

I noticed that this works unless there are decimal places introduced. For example, 299.8 and 291.7. Then it returns 15 decimals places. Is there a way to have it return only on decimal place? Thanks.