Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace SuperBASIC.Functions
|
|
{
|
|
public class Pi : IFunction
|
|
{
|
|
float IFunction.Apply(List<BasicNumber> arguments)
|
|
{
|
|
return (float)Math.PI;
|
|
}
|
|
}
|
|
public class Euler : IFunction
|
|
{
|
|
float IFunction.Apply(List<BasicNumber> arguments)
|
|
{
|
|
return (float)Math.E;
|
|
}
|
|
}
|
|
}
|