Skip to content

Conversation

mgiannopoulos24
Copy link

Well I hope it works. I wasn't able to understand how to host the website with Google SDK to look the changes myself.

@mgiannopoulos24 mgiannopoulos24 changed the title Aded float64 value support. Added float64 value support. Jul 5, 2024
@gepser gepser reopened this Aug 5, 2024
@gepser
Copy link
Owner

gepser commented Aug 5, 2024

Thank you @mgiannopoulos24 , I'll check it out and merge it if everything works 🙌🏼

@mgiannopoulos24
Copy link
Author

mgiannopoulos24 commented Jan 23, 2025

Hello @gepser ! After experimenting on how to run it locally, I also managed to fix the issue with float64 values. Now the program can display both integer and float64 values with 2 decimal digits.

Here are some screenshots:

  • Float percentage 99.72:

  • Float percentage 56.96:

  • Integer percentage 12:

Another thing worth mentioning is that you should update the instructions on how to run the program. As shown in #6 there can be a few problems with the program not finding the function Progress.

Below is a solution I found to the problem:

If you use Linux, open a terminal and type:

export FUNCTION_TARGET=Progress

and then:

go run cmd/main.go

If you use Windows, open the PowerShell and type:

$env:FUNCTION_TARGET="Progress"

and then:

go run cmd/main.go

Let me know if you need any other changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants