Can't import system.math in VB 2012

Jun 3, 2014 at 1:21 PM
Hi,
I tried to import 'system.Math' that I can use sin & cos
but got 2 errors:
'Math' is a type and cannot be used as an expression.
'Is' expected.
Imports Ciloci.Flee
Imports System.Math

Dim context As New Ciloci.Flee.ExpressionContext()
context.Imports.AddType(typeof(system.Math))
Did anyone got this issue solved for a VB version ??

Have a sunny day ...

Old Hurtz
Jun 3, 2014 at 1:46 PM
Hi,
:]
its me again ...
solved it myself
context.Imports.AddType(GetType(Math))