我正在尝试用逗号分隔号码。通过下面的宏代码在excel单元格中输入。
<ul class="dropdown-content" >
<li *ngFor="let items of list"">
{{items.name}} - {{items.price}}
</li>
</ul>
不。被包裹。但是,没有。出现在末尾的这些东西已经坏了。
例如:public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
EditText firstNumber;
EditText secondNumber;
TextView addResult;
Button btnAdd;
double num1,num2,sum;
firstNumber = findViewById(R.id.txtNumber1);
secondNumber = findViewById(R.id.txtNumber2);
addResult = findViewById(R.id.txtResult);
btnAdd = findViewById(R.id.btnAdd);
btnAdd.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
num1 = Double.parseDouble(firstNumber.getText().toString());
num2 = Double.parseDouble(secondNumber.getText().toString());
sum = num1 + num2;
addResult.setText(Double.toString(sum));
}
});
}
}
在单元格中显示为
Worksheets("Sheet1").Range("B1").WrapText = True
我希望这些显示为
Nos. 12345345,56891235,12458963,12568745