markdown-progress icon indicating copy to clipboard operation
markdown-progress copied to clipboard

Added float64 value support.

Open mgiannopoulos24 opened this issue 1 year ago • 2 comments

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 avatar Jul 05 '24 00:07 mgiannopoulos24

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

gepser avatar Aug 05 '24 13:08 gepser

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!

mgiannopoulos24 avatar Jan 23 '25 13:01 mgiannopoulos24