我怎麼能減去基於AccountGroupId 4兩列 - AccountGroupId 5 I have data like :
ID Month Year AccountGroupName AccountGroupId Balance
1 February 2014 Expense 5 200
2 February 2014 Income 4 300
下面是一個例子: public static ArrayList<Integer> position = new ArrayList<Integer>();
public static ArrayList<Integer> new_position = new ArrayList<Integer>();
Collections.copy(new_position, position);
myVar = int(input("What do you want to start out with? "))
mySubtactor = int(input("What do you want to be the subtracter? "))
def function():
choice = input("Do you want to take away? Please
我寫了一個代碼,它允許我從數組中的一個元素中減去一個特定值(例如:FP = 0.021),如果它匹配特定的模式。這是代碼: if ($info =~ /FP=/) {
my @array1 = split(';', $info);
if ($array1[$#array1] =~ /=([^.]*)/){
my $name1= $-[1];