[Bug]: Template application throws error when values with 1 decimal digit used #342

Closed
opened 2026-02-28 19:00:04 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @mkalamarz on GitHub (Apr 11, 2023).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

How to reproduce:

  1. Create a template with 1 decimal digit e.x. "#template 50.5"
  2. Try to apply it
  3. Get an error

I understand that the solution is to input "50.50" but from a UX perspective it's quite intuitive that 0.5 should expand to 0.50.

Version: v23.4.0

What error did you receive?

There were errors interpreting some templates:
Bills: Expected end of input or space but "." found.
#template 50.5

Where are you hosting Actual?

Fly.io

What browsers are you seeing the problem on?

Firefox

Operating System

Windows 10

Originally created by @mkalamarz on GitHub (Apr 11, 2023). ### Verified issue does not already exist? - [X] I have searched and found no existing issue ### What happened? How to reproduce: 1. Create a template with 1 decimal digit e.x. "#template 50.5" 2. Try to apply it 3. Get an error I understand that the solution is to input "50.50" but from a UX perspective it's quite intuitive that 0.5 should expand to 0.50. Version: v23.4.0 ### What error did you receive? There were errors interpreting some templates: Bills: Expected end of input or space but "." found. #template 50.5 ### Where are you hosting Actual? Fly.io ### What browsers are you seeing the problem on? Firefox ### Operating System Windows 10
GiteaMirror added the good first issuegoal templateshelp wanted labels 2026-02-28 19:00:05 -06:00
Author
Owner

@youngcw commented on GitHub (Apr 26, 2023):

This has been fixed. I imagine the issue should be closed.

@youngcw commented on GitHub (Apr 26, 2023): This has been fixed. I imagine the issue should be closed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#342