Thanks Johan
I get this error with that query. The substring function requires 3 arguments? The end result needs to be the @Price / Margin
Declare @Price numeric (19,6)
Declare @Margin numeric (19,6)
Set @Price = CAST(RTRIM(SUBSTRING(N'GBP 5.00 ')) AS numeric (19,6))
Set @Margin = 1 - CAST(N'0.250000' AS numeric (19,6))
Select @Price/@Margin