- Home
- Forum
- Indicators API Help
- C# FormatException : Format specifier was invalid in .Net6.0
C# FormatException : Format specifier was invalid in .Net6.0
C# FormatException : Format specifier was invalid in .Net6.0
eg:
var a=5;
var b=2;
code $"{a-b:C}" in console app ,it's is output "$2.00" correctly, but it throw a FormatException : "Format specifier was invalid" in algo file!
Hi yearn,
Please provide us with the complete cBot code so that we can check,
Best Regards,
Panagiotis
Copyright © 2023 Spotware Systems Ltd. All rights reserved.